Class MinecartCommandBlock.MinecartCommandBase
java.lang.Object
net.minecraft.world.level.BaseCommandBlock
net.minecraft.world.entity.vehicle.MinecartCommandBlock.MinecartCommandBase
- All Implemented Interfaces:
CommandSource
- Enclosing class:
- MinecartCommandBlock
-
Field Summary
Fields inherited from interface net.minecraft.commands.CommandSource
NULL
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.level.BaseCommandBlock
acceptsFailure, acceptsSuccess, getCommand, getLastOutput, getName, getSuccessCount, isTrackOutput, load, performCommand, save, sendSystemMessage, setCommand, setLastOutput, setName, setSuccessCount, setTrackOutput, shouldInformAdmins, usedBy
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.commands.CommandSource
alwaysAccepts
-
Constructor Details
-
MinecartCommandBase
public MinecartCommandBase()
-
-
Method Details
-
getLevel
- Specified by:
getLevel
in classBaseCommandBlock
-
onUpdated
public void onUpdated()- Specified by:
onUpdated
in classBaseCommandBlock
-
getPosition
- Specified by:
getPosition
in classBaseCommandBlock
-
getMinecart
-
createCommandSourceStack
- Specified by:
createCommandSourceStack
in classBaseCommandBlock
-