public class BannerTileEntity extends TileEntity implements INameable
Modifier and Type | Field and Description |
---|---|
private DyeColor |
baseColor |
private ITextComponent |
name |
private boolean |
patternDataSet |
private java.util.List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> |
patternList |
private ListNBT |
patterns |
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_) |
static java.util.List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> |
func_230138_a_(DyeColor p_230138_0_,
ListNBT p_230138_1_) |
static ListNBT |
func_230139_a_(ItemStack p_230139_0_) |
DyeColor |
getBaseColor(java.util.function.Supplier<BlockState> p_195533_1_) |
ITextComponent |
getCustomName() |
ItemStack |
getItem(BlockState p_190615_1_) |
ITextComponent |
getName() |
java.util.List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> |
getPatternList() |
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, setWorldAndPos, 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
@Nullable private ITextComponent name
@Nullable private DyeColor baseColor
@Nullable private ListNBT patterns
private boolean patternDataSet
@Nullable private java.util.List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> patternList
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<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> getPatternList()
public static java.util.List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> func_230138_a_(DyeColor p_230138_0_, @Nullable ListNBT p_230138_1_)
public static void removeBannerData(ItemStack stack)
public ItemStack getItem(BlockState p_190615_1_)
public DyeColor getBaseColor(java.util.function.Supplier<BlockState> p_195533_1_)