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 CommandSource
createCommandSourceStack()
ServerWorld
getLevel()
CommandBlockMinecartEntity
getMinecart()
Vector3d
getPosition()
void
onUpdated()
-
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:
getLevel
in classCommandBlockLogic
-
onUpdated
public void onUpdated()
- Specified by:
onUpdated
in classCommandBlockLogic
-
getPosition
public Vector3d getPosition()
- Specified by:
getPosition
in classCommandBlockLogic
-
getMinecart
public CommandBlockMinecartEntity getMinecart()
-
createCommandSourceStack
public CommandSource createCommandSourceStack()
- Specified by:
createCommandSourceStack
in classCommandBlockLogic
-
-