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
Constructors -
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, usedByMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.commands.CommandSource
alwaysAccepts
-
Constructor Details
-
MinecartCommandBase
public MinecartCommandBase()
-
-
Method Details
-
getLevel
- Specified by:
getLevelin classBaseCommandBlock
-
onUpdated
public void onUpdated()- Specified by:
onUpdatedin classBaseCommandBlock
-
getPosition
- Specified by:
getPositionin classBaseCommandBlock
-
getMinecart
-
createCommandSourceStack
- Specified by:
createCommandSourceStackin classBaseCommandBlock
-