public class GymSignTileEntity extends net.minecraft.tileentity.TileEntity implements ISpecialTexture
| Constructor and Description |
|---|
GymSignTileEntity(GymSignType gymSignType) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getColour()
Gets the color of the sign.
|
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
getContents() |
GymSignType |
getGymSignType() |
net.minecraft.item.ItemStack |
getItemInSign()
Gets the item in the sign.
|
java.util.UUID |
getOwnerUUID()
Gets the UUID of the player who placed the sign.
|
net.minecraft.util.ResourceLocation |
getTexture() |
net.minecraft.network.play.server.SUpdateTileEntityPacket |
getUpdatePacket() |
net.minecraft.nbt.CompoundNBT |
getUpdateTag() |
boolean |
isDroppable() |
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 |
sendChanges()
Updates the tile entity client-side.
|
void |
setColour(java.lang.String colour)
Sets the color of the sign.
|
void |
setDroppable(boolean b) |
void |
setItemInSign(net.minecraft.item.ItemStack item)
Sets the item in the sign.
|
void |
setOwner(java.util.UUID owner)
Sets the UUID of the player who placed the sign.
|
clearCache, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getTileData, getType, getViewDistance, hasLevel, isRemoved, loadStatic, logInvalidState, mirror, onChunkUnloaded, onlyOpCanSetNbt, rotate, setChanged, setLevelAndPosition, setPosition, setRemoved, triggerEventareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic GymSignTileEntity(GymSignType gymSignType)
public void load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT nbt)
load in class net.minecraft.tileentity.TileEntitypublic net.minecraft.nbt.CompoundNBT save(net.minecraft.nbt.CompoundNBT nbt)
save in class net.minecraft.tileentity.TileEntitypublic java.lang.String getColour()
public void setColour(java.lang.String colour)
colour - The color of the sign.public net.minecraft.util.ResourceLocation getTexture()
getTexture in interface ISpecialTexturepublic void sendChanges()
public net.minecraft.nbt.CompoundNBT getUpdateTag()
getUpdateTag in class net.minecraft.tileentity.TileEntitypublic net.minecraft.network.play.server.SUpdateTileEntityPacket getUpdatePacket()
getUpdatePacket in class net.minecraft.tileentity.TileEntitypublic void onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SUpdateTileEntityPacket pkt)
onDataPacket in interface net.minecraftforge.common.extensions.IForgeTileEntitypublic java.util.UUID getOwnerUUID()
public void setOwner(java.util.UUID owner)
owner - The UUID of the player who placed the sign.public net.minecraft.item.ItemStack getItemInSign()
public net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> getContents()
public void setItemInSign(net.minecraft.item.ItemStack item)
item - The item in the sign.public void setDroppable(boolean b)
public boolean isDroppable()
public GymSignType getGymSignType()