public class BattleSpectatorOwnedTileEntity extends OwnedTileEntity
Constructor and Description |
---|
BattleSpectatorOwnedTileEntity() |
Modifier and Type | Method and Description |
---|---|
void |
deserializeNBT(net.minecraft.nbt.CompoundNBT nbt) |
BattleOwnedTileEntityController |
getBattleController() |
net.minecraft.util.math.BlockPos |
getControllerPosition() |
int |
getPlayerIndex() |
net.minecraft.nbt.CompoundNBT |
serializeNBT() |
void |
setControllerPosition(net.minecraft.util.math.BlockPos controllerPosition) |
void |
setPlayerIndex(int playerIndex) |
getOwnerId, getUpdatePacket, onDataPacket, setOwnerId
clearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getUpdateTag, getViewDistance, hasLevel, isRemoved, load, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, save, setChanged, setLevelAndPosition, setPosition, setRemoved, triggerEvent
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void deserializeNBT(net.minecraft.nbt.CompoundNBT nbt)
deserializeNBT
in interface net.minecraftforge.common.extensions.IForgeTileEntity
deserializeNBT
in interface net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundNBT>
deserializeNBT
in class OwnedTileEntity
public net.minecraft.nbt.CompoundNBT serializeNBT()
serializeNBT
in interface net.minecraftforge.common.extensions.IForgeTileEntity
serializeNBT
in interface net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundNBT>
serializeNBT
in class OwnedTileEntity
public BattleOwnedTileEntityController getBattleController()
public net.minecraft.util.math.BlockPos getControllerPosition()
public void setControllerPosition(net.minecraft.util.math.BlockPos controllerPosition)
public int getPlayerIndex()
public void setPlayerIndex(int playerIndex)