public class ZygardeCellTileEntity
extends net.minecraft.tileentity.TileEntity
implements net.minecraft.tileentity.ITickableTileEntity
Constructor and Description |
---|
ZygardeCellTileEntity() |
Modifier and Type | Method and Description |
---|---|
boolean |
addEncounter(java.util.UUID uuid) |
ZygardeCubeItem.CoreType |
getCoreType() |
boolean |
isPermanent() |
void |
load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound) |
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT compound) |
void |
setCoreType(ZygardeCubeItem.CoreType coreType) |
void |
setPermanent(boolean permanent) |
void |
tick()
Like the old updateEntity(), except more generic.
|
clearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getUpdatePacket, getUpdateTag, 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 boolean isPermanent()
public void setPermanent(boolean permanent)
public ZygardeCubeItem.CoreType getCoreType()
public void setCoreType(ZygardeCubeItem.CoreType coreType)
public boolean addEncounter(java.util.UUID uuid)
uuid
- The UUID of a player.public void tick()
tick
in interface net.minecraft.tileentity.ITickableTileEntity
public void load(net.minecraft.block.BlockState state, net.minecraft.nbt.CompoundNBT compound)
load
in class net.minecraft.tileentity.TileEntity
public net.minecraft.nbt.CompoundNBT save(net.minecraft.nbt.CompoundNBT compound)
save
in class net.minecraft.tileentity.TileEntity