public class FossilDisplayTileEntity extends net.minecraft.tileentity.TileEntity implements IFrameCounter
Modifier and Type | Field and Description |
---|---|
int |
frame |
int |
renderPass |
Constructor and Description |
---|
FossilDisplayTileEntity() |
Modifier and Type | Method and Description |
---|---|
void |
closeGlass() |
int |
getFrame() |
FossilItem |
getItemInDisplay() |
int |
getLastFrame() |
java.util.UUID |
getOwnerUUID() |
net.minecraft.network.play.server.SUpdateTileEntityPacket |
getUpdatePacket() |
net.minecraft.nbt.CompoundNBT |
getUpdateTag() |
boolean |
isOpen() |
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) |
void |
onLoad() |
void |
openGlass() |
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT nbt) |
void |
sendAnimation(java.lang.String str) |
void |
setFrame(int frame) |
void |
setItemInDisplay(net.minecraft.item.Item item)
Sets the item that is inside the Fossil display.
|
void |
setLastFrame(int frame) |
void |
setOwner(java.util.UUID owner) |
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 void openGlass()
public void closeGlass()
public boolean isOpen()
public int getFrame()
getFrame
in interface IFrameCounter
public void setFrame(int frame)
setFrame
in interface IFrameCounter
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 save(net.minecraft.nbt.CompoundNBT nbt)
save
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 onLoad()
onLoad
in interface net.minecraftforge.common.extensions.IForgeTileEntity
public void sendAnimation(java.lang.String str)
public void onDataPacket(net.minecraft.network.NetworkManager net, net.minecraft.network.play.server.SUpdateTileEntityPacket pkt)
onDataPacket
in interface net.minecraftforge.common.extensions.IForgeTileEntity
public java.util.UUID getOwnerUUID()
public void setOwner(java.util.UUID owner)
public FossilItem getItemInDisplay()
public void setItemInDisplay(net.minecraft.item.Item item)
item
- The item to place inside the Fossil display.public int getLastFrame()
public void setLastFrame(int frame)