public class TileEntityBanner extends TileEntity implements IWorldNameable
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, world
Constructor and Description |
---|
TileEntityBanner() |
Modifier and Type | Method and Description |
---|---|
static EnumDyeColor |
getColor(ItemStack p_190616_0_) |
java.util.List<EnumDyeColor> |
getColorList() |
ITextComponent |
getDisplayName() |
ItemStack |
getItem() |
java.lang.String |
getName() |
java.util.List<BannerPattern> |
getPatternList() |
java.lang.String |
getPatternResourceLocation() |
static int |
getPatterns(ItemStack stack) |
SPacketUpdateTileEntity |
getUpdatePacket() |
NBTTagCompound |
getUpdateTag() |
boolean |
hasCustomName() |
void |
readFromNBT(NBTTagCompound compound) |
static void |
removeBannerData(ItemStack stack) |
void |
setItemValues(ItemStack stack,
boolean p_175112_2_) |
NBTTagCompound |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getCapability, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, handleUpdateTag, hasCapability, hasFastRenderer, hasWorld, invalidate, isInvalid, markDirty, mirror, onChunkUnload, onDataPacket, onLoad, onlyOpsCanSetNbt, receiveClientEvent, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
public void setItemValues(ItemStack stack, boolean p_175112_2_)
public java.lang.String getName()
getName
in interface IWorldNameable
public boolean hasCustomName()
hasCustomName
in interface IWorldNameable
public ITextComponent getDisplayName()
getDisplayName
in interface IWorldNameable
getDisplayName
in class TileEntity
public NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT
in class TileEntity
public void readFromNBT(NBTTagCompound compound)
readFromNBT
in class TileEntity
@Nullable public SPacketUpdateTileEntity getUpdatePacket()
getUpdatePacket
in class TileEntity
public NBTTagCompound getUpdateTag()
getUpdateTag
in class TileEntity
public static int getPatterns(ItemStack stack)
public java.util.List<BannerPattern> getPatternList()
public java.util.List<EnumDyeColor> getColorList()
public java.lang.String getPatternResourceLocation()
public static void removeBannerData(ItemStack stack)
public ItemStack getItem()
public static EnumDyeColor getColor(ItemStack p_190616_0_)