public class ScrollTileEntity
extends net.minecraft.tileentity.TileEntity
implements net.minecraft.util.INameable
Constructor and Description |
---|
ScrollTileEntity() |
ScrollTileEntity(ScrollBlock.Type type) |
Modifier and Type | Method and Description |
---|---|
net.minecraft.util.text.ITextComponent |
getDisplayName() |
net.minecraft.item.ItemStack |
getItem() |
net.minecraft.util.text.ITextComponent |
getName() |
net.minecraft.util.ResourceLocation |
getResourceLocation() |
ScrollBlock.Type |
getScrollType() |
net.minecraft.network.play.server.SUpdateTileEntityPacket |
getUpdatePacket() |
net.minecraft.nbt.CompoundNBT |
getUpdateTag() |
boolean |
hasCustomName() |
boolean |
isDisplayOnly() |
void |
load(net.minecraft.block.BlockState state,
net.minecraft.nbt.CompoundNBT compound) |
void |
onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SUpdateTileEntityPacket pkt) |
net.minecraft.nbt.CompoundNBT |
save(net.minecraft.nbt.CompoundNBT compound) |
void |
setItemValues(net.minecraft.item.ItemStack stack) |
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 ScrollTileEntity()
public ScrollTileEntity(ScrollBlock.Type type)
public boolean isDisplayOnly()
public ScrollBlock.Type getScrollType()
public void setItemValues(net.minecraft.item.ItemStack stack)
public net.minecraft.util.text.ITextComponent getName()
getName
in interface net.minecraft.util.INameable
public boolean hasCustomName()
hasCustomName
in interface net.minecraft.util.INameable
public net.minecraft.util.text.ITextComponent getDisplayName()
getDisplayName
in interface net.minecraft.util.INameable
public net.minecraft.nbt.CompoundNBT save(net.minecraft.nbt.CompoundNBT compound)
save
in class net.minecraft.tileentity.TileEntity
public void load(net.minecraft.block.BlockState state, net.minecraft.nbt.CompoundNBT compound)
load
in class net.minecraft.tileentity.TileEntity
@Nullable 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)
onDataPacket
in interface net.minecraftforge.common.extensions.IForgeTileEntity
public net.minecraft.nbt.CompoundNBT getUpdateTag()
getUpdateTag
in class net.minecraft.tileentity.TileEntity
public net.minecraft.util.ResourceLocation getResourceLocation()
public net.minecraft.item.ItemStack getItem()