public class OrbTileEntity
extends net.minecraft.tileentity.TileEntity
Modifier and Type | Field and Description |
---|---|
int |
clientTicker |
Constructor and Description |
---|
OrbTileEntity() |
OrbTileEntity(int pieces) |
Modifier and Type | Method and Description |
---|---|
void |
addPiece() |
byte |
getPieces() |
net.minecraft.network.play.server.SUpdateTileEntityPacket |
getUpdatePacket() |
net.minecraft.nbt.CompoundNBT |
getUpdateTag() |
void |
load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT nbt) |
void |
onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SUpdateTileEntityPacket pkt) |
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT nbt) |
void |
setPieces(int pieces) |
clearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getViewDistance, hasLevel, isRemoved, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, 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 OrbTileEntity()
public OrbTileEntity(int pieces)
public net.minecraft.nbt.CompoundNBT save(net.minecraft.nbt.CompoundNBT nbt)
save
in class net.minecraft.tileentity.TileEntity
public void load(net.minecraft.block.BlockState state, net.minecraft.nbt.CompoundNBT nbt)
load
in class net.minecraft.tileentity.TileEntity
public net.minecraft.nbt.CompoundNBT getUpdateTag()
getUpdateTag
in class net.minecraft.tileentity.TileEntity
public net.minecraft.network.play.server.SUpdateTileEntityPacket getUpdatePacket()
getUpdatePacket
in class net.minecraft.tileentity.TileEntity
public void onDataPacket(net.minecraft.network.NetworkManager net, net.minecraft.network.play.server.SUpdateTileEntityPacket pkt)
public void addPiece()
public void setPieces(int pieces)
public byte getPieces()