public abstract class MixinTileEntityCommandBlock extends MixinTileEntity implements org.spongepowered.api.block.tileentity.CommandBlock, IMixinCommandSource
tileEntityInvalid, worldObj
Constructor and Description |
---|
MixinTileEntityCommandBlock() |
Modifier and Type | Method and Description |
---|---|
net.minecraft.command.ICommandSender |
asICommandSender() |
void |
execute() |
abstract net.minecraft.command.server.CommandBlockLogic |
getCommandBlockLogic() |
org.spongepowered.api.block.tileentity.TileEntityType |
getType() |
org.spongepowered.api.data.DataContainer |
toContainer() |
getContainers, getLocation, getPos, isValid, markDirty, onReadFromNBT, onWriteToNBT, readFromNbt, setRawData, setValid, validateRawData, writeToNbt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBlock, getLocation, isValid, setValid
getProperties, getProperty, setRawData, validateRawData
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, supports, transform, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, supports, supports
getLocation, getWorld
getMessageSink, getName, sendMessage, sendMessage, setMessageSink
getActiveContexts, getCommandSource, getContainingCollection, getIdentifier, getParents, getParents, getPermissionValue, getSubjectData, getTransientSubjectData, hasPermission, hasPermission, isChildOf, isChildOf
getIdentifier
getSpongeData
public abstract net.minecraft.command.server.CommandBlockLogic getCommandBlockLogic()
public net.minecraft.command.ICommandSender asICommandSender()
asICommandSender
in interface IMixinCommandSource
public void execute()
execute
in interface org.spongepowered.api.block.tileentity.CommandBlock
public org.spongepowered.api.block.tileentity.TileEntityType getType()
getType
in interface org.spongepowered.api.block.tileentity.TileEntity
public org.spongepowered.api.data.DataContainer toContainer()
toContainer
in interface org.spongepowered.api.data.DataSerializable
toContainer
in class MixinTileEntity