public class TileEntityBanner extends TileEntity implements INameable
pos, removed, world
INFINITE_EXTENT_AABB
Constructor and Description |
---|
TileEntityBanner() |
TileEntityBanner(EnumDyeColor p_i47731_1_) |
Modifier and Type | Method and Description |
---|---|
EnumDyeColor |
getBaseColor(java.util.function.Supplier<IBlockState> p_195533_1_) |
java.util.List<EnumDyeColor> |
getColorList() |
ITextComponent |
getCustomName() |
ItemStack |
getItem(IBlockState p_190615_1_) |
ITextComponent |
getName() |
java.util.List<BannerPattern> |
getPatternList() |
java.lang.String |
getPatternResourceLocation() |
static int |
getPatterns(ItemStack stack) |
SPacketUpdateTileEntity |
getUpdatePacket() |
NBTTagCompound |
getUpdateTag() |
boolean |
hasCustomName() |
void |
loadFromItemStack(ItemStack p_195534_1_,
EnumDyeColor p_195534_2_) |
void |
read(NBTTagCompound compound) |
static void |
removeBannerData(ItemStack stack) |
NBTTagCompound |
write(NBTTagCompound compound) |
addInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, receiveClientEvent, remove, rotate, setPos, setWorld, updateContainingBlockInfo, validate
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDisplayName
canRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT, shouldRenderInPass
getCapability, getCapability
public TileEntityBanner()
public TileEntityBanner(EnumDyeColor p_i47731_1_)
public void loadFromItemStack(ItemStack p_195534_1_, EnumDyeColor p_195534_2_)
public ITextComponent getName()
public boolean hasCustomName()
hasCustomName
in interface INameable
@Nullable public ITextComponent getCustomName()
getCustomName
in interface INameable
public NBTTagCompound write(NBTTagCompound compound)
write
in class TileEntity
public void read(NBTTagCompound compound)
read
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(IBlockState p_190615_1_)
public EnumDyeColor getBaseColor(java.util.function.Supplier<IBlockState> p_195533_1_)