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()
Retrieves the list of colors for this tile entity.
|
ITextComponent |
getDisplayName()
Get the formatted ChatComponent that will be used for the sender's username in chat
|
ItemStack |
getItem() |
java.lang.String |
getName()
Get the name of this object.
|
java.util.List<BannerPattern> |
getPatternList()
Retrieves the list of patterns for this tile entity.
|
java.lang.String |
getPatternResourceLocation() |
static int |
getPatterns(ItemStack stack)
Retrieves the amount of patterns stored on an ItemStack.
|
SPacketUpdateTileEntity |
getUpdatePacket() |
NBTTagCompound |
getUpdateTag() |
boolean |
hasCustomName()
Returns true if this thing is named
|
void |
readFromNBT(NBTTagCompound compound) |
static void |
removeBannerData(ItemStack stack)
Removes all the banner related data from a provided instance of ItemStack.
|
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, validatepublic void setItemValues(ItemStack stack, boolean p_175112_2_)
public java.lang.String getName()
getName in interface IWorldNameablepublic boolean hasCustomName()
hasCustomName in interface IWorldNameablepublic ITextComponent getDisplayName()
getDisplayName in interface IWorldNameablegetDisplayName in class TileEntitypublic NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT in class TileEntitypublic void readFromNBT(NBTTagCompound compound)
readFromNBT in class TileEntitypublic SPacketUpdateTileEntity getUpdatePacket()
getUpdatePacket in class TileEntitypublic NBTTagCompound getUpdateTag()
getUpdateTag in class TileEntitypublic 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_)