Class CommandBlockMinecartEntity.MinecartCommandLogic
- java.lang.Object
-
- net.minecraft.tileentity.CommandBlockLogic
-
- net.minecraft.entity.item.minecart.CommandBlockMinecartEntity.MinecartCommandLogic
-
- All Implemented Interfaces:
ICommandSource
- Enclosing class:
- CommandBlockMinecartEntity
public class CommandBlockMinecartEntity.MinecartCommandLogic extends CommandBlockLogic
-
-
Field Summary
-
Fields inherited from interface net.minecraft.command.ICommandSource
NULL
-
-
Constructor Summary
Constructors Constructor Description MinecartCommandLogic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandSourcecreateCommandSourceStack()ServerWorldgetLevel()CommandBlockMinecartEntitygetMinecart()Vector3dgetPosition()voidonUpdated()-
Methods inherited from class net.minecraft.tileentity.CommandBlockLogic
acceptsFailure, acceptsSuccess, getCommand, getLastOutput, getName, getSuccessCount, isTrackOutput, load, performCommand, save, sendMessage, setCommand, setLastOutput, setName, setSuccessCount, setTrackOutput, shouldInformAdmins, usedBy
-
-
-
-
Method Detail
-
getLevel
public ServerWorld getLevel()
- Specified by:
getLevelin classCommandBlockLogic
-
onUpdated
public void onUpdated()
- Specified by:
onUpdatedin classCommandBlockLogic
-
getPosition
public Vector3d getPosition()
- Specified by:
getPositionin classCommandBlockLogic
-
getMinecart
public CommandBlockMinecartEntity getMinecart()
-
createCommandSourceStack
public CommandSource createCommandSourceStack()
- Specified by:
createCommandSourceStackin classCommandBlockLogic
-
-