public class TileEntityBanner extends TileEntity
Modifier and Type | Class and Description |
---|---|
static class |
TileEntityBanner.EnumBannerPattern |
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, worldObj
Constructor and Description |
---|
TileEntityBanner() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
func_175116_e() |
static void |
func_181020_a(NBTTagCompound p_181020_0_,
int p_181020_1_,
NBTTagList p_181020_2_) |
NBTTagList |
func_181021_d() |
int |
getBaseColor() |
static int |
getBaseColor(ItemStack stack) |
java.util.List<EnumDyeColor> |
getColorList() |
Packet |
getDescriptionPacket()
Allows for a specialized description packet to be created.
|
java.util.List<TileEntityBanner.EnumBannerPattern> |
getPatternList() |
static int |
getPatterns(ItemStack stack)
Retrieves the amount of patterns stored on an ItemStack.
|
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) |
void |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, addMapping, canRenderBreaking, createAndLoadEntity, deserializeNBT, func_183000_F, getBlockMetadata, getBlockType, getCapability, getDistanceSq, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, hasCapability, hasFastRenderer, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, onDataPacket, onLoad, receiveClientEvent, restrictNBTCopy, serializeNBT, setPos, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
public void setItemValues(ItemStack stack)
public void writeToNBT(NBTTagCompound compound)
writeToNBT
in class TileEntity
public static void func_181020_a(NBTTagCompound p_181020_0_, int p_181020_1_, NBTTagList p_181020_2_)
public void readFromNBT(NBTTagCompound compound)
readFromNBT
in class TileEntity
public Packet getDescriptionPacket()
getDescriptionPacket
in class TileEntity
public int getBaseColor()
public static int getBaseColor(ItemStack stack)
public static int getPatterns(ItemStack stack)
public java.util.List<TileEntityBanner.EnumBannerPattern> getPatternList()
public NBTTagList func_181021_d()
public java.util.List<EnumDyeColor> getColorList()
public static void removeBannerData(ItemStack stack)
public java.lang.String func_175116_e()