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 |
---|---|
static void |
addBaseColorTag(ItemStack p_184248_0_,
EnumDyeColor p_184248_1_) |
int |
getBaseColor() |
static int |
getBaseColor(ItemStack stack) |
java.util.List<EnumDyeColor> |
getColorList() |
java.util.List<TileEntityBanner.EnumBannerPattern> |
getPatternList() |
java.lang.String |
getPatternResourceLocation() |
NBTTagList |
getPatterns() |
static int |
getPatterns(ItemStack stack) |
SPacketUpdateTileEntity |
getUpdatePacket() |
NBTTagCompound |
getUpdateTag() |
void |
readFromNBT(NBTTagCompound compound) |
static void |
removeBannerData(ItemStack stack) |
static void |
setBaseColorAndPatterns(NBTTagCompound compound,
int baseColorIn,
NBTTagList patternsIn) |
void |
setItemValues(ItemStack stack) |
NBTTagCompound |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, addMapping, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getCapability, getDistanceSq, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, handleUpdateTag, hasCapability, hasFastRenderer, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, onDataPacket, onLoad, onlyOpsCanSetNbt, receiveClientEvent, restrictNBTCopy, serializeNBT, setPos, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
public void setItemValues(ItemStack stack)
public NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT
in class TileEntity
public static void setBaseColorAndPatterns(NBTTagCompound compound, int baseColorIn, @Nullable NBTTagList patternsIn)
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 int getBaseColor()
public static int getBaseColor(ItemStack stack)
public static int getPatterns(ItemStack stack)
public java.util.List<TileEntityBanner.EnumBannerPattern> getPatternList()
public NBTTagList getPatterns()
public java.util.List<EnumDyeColor> getColorList()
public java.lang.String getPatternResourceLocation()
public static void addBaseColorTag(ItemStack p_184248_0_, EnumDyeColor p_184248_1_)
public static void removeBannerData(ItemStack stack)