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