public class TileEntityBanner extends TileEntity implements IWorldNameable
Modifier and Type | Field and Description |
---|---|
private EnumDyeColor |
baseColor |
private java.util.List<EnumDyeColor> |
colorList |
private java.lang.String |
name |
private boolean |
patternDataSet |
private java.util.List<BannerPattern> |
patternList |
private java.lang.String |
patternResourceLocation |
private NBTTagList |
patterns |
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() |
private void |
initializeBannerData() |
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, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, setWorldCreate, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
private java.lang.String name
private EnumDyeColor baseColor
private NBTTagList patterns
private boolean patternDataSet
private java.util.List<BannerPattern> patternList
private java.util.List<EnumDyeColor> colorList
private java.lang.String patternResourceLocation
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()
private void initializeBannerData()
public static void removeBannerData(ItemStack stack)
public ItemStack getItem()
public static EnumDyeColor getColor(ItemStack p_190616_0_)