类 MinecartCommandBlock.MinecartCommandBase
java.lang.Object
net.minecraft.world.level.BaseCommandBlock
net.minecraft.world.entity.vehicle.MinecartCommandBlock.MinecartCommandBase
- 所有已实现的接口:
CommandSource
- 封闭类:
MinecartCommandBlock
-
字段概要
从接口继承的字段 net.minecraft.commands.CommandSource
NULL
-
构造器概要
构造器 -
方法概要
从类继承的方法 net.minecraft.world.level.BaseCommandBlock
acceptsFailure, acceptsSuccess, getCommand, getCustomName, getLastOutput, getName, getSuccessCount, isTrackOutput, load, performCommand, save, sendSystemMessage, setCommand, setCustomName, setLastOutput, setSuccessCount, setTrackOutput, shouldInformAdmins, usedBy
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.commands.CommandSource
alwaysAccepts
-
构造器详细资料
-
MinecartCommandBase
public MinecartCommandBase()
-
-
方法详细资料
-
getLevel
- 指定者:
getLevel
在类中BaseCommandBlock
-
onUpdated
public void onUpdated()- 指定者:
onUpdated
在类中BaseCommandBlock
-
getPosition
- 指定者:
getPosition
在类中BaseCommandBlock
-
getMinecart
-
createCommandSourceStack
- 指定者:
createCommandSourceStack
在类中BaseCommandBlock
-
isValid
public boolean isValid()- 指定者:
isValid
在类中BaseCommandBlock
-