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, triggerEventareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic 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.INameablepublic boolean hasCustomName()
hasCustomName in interface net.minecraft.util.INameablepublic net.minecraft.util.text.ITextComponent getDisplayName()
getDisplayName in interface net.minecraft.util.INameablepublic net.minecraft.nbt.CompoundNBT save(net.minecraft.nbt.CompoundNBT compound)
save in class net.minecraft.tileentity.TileEntitypublic 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.TileEntitypublic void onDataPacket(net.minecraft.network.NetworkManager net,
net.minecraft.network.play.server.SUpdateTileEntityPacket pkt)
onDataPacket in interface net.minecraftforge.common.extensions.IForgeTileEntitypublic net.minecraft.nbt.CompoundNBT getUpdateTag()
getUpdateTag in class net.minecraft.tileentity.TileEntitypublic net.minecraft.util.ResourceLocation getResourceLocation()
public net.minecraft.item.ItemStack getItem()