net.minecraft.world.level.block.entity

public class BannerBlockEntity

extends BlockEntity implements Nameable

All mapped superinterfaces:

Nameable

dpw
net.minecraft.world.level.block.entity.BannerBlockEntity
net.minecraft.class_2573
net.minecraft.block.entity.BannerBlockEntity
net.minecraft.src.C_1976_
net.minecraft.world.level.block.entity.TileEntityBanner

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
b
LOGGER
field_49402
LOGGER
f_315436_
public static final int
a
MAX_PATTERNS
field_31296
MAX_PATTERN_COUNT
f_155030_
private static final String
c
TAG_PATTERNS
field_31297
PATTERNS_KEY
f_155031_
private Component
d
name
field_11772
customName
f_58473_
private DyeColor
e
baseColor
field_11774
baseColor
f_58474_
private BannerPatternLayers
f
patterns
field_49756
patterns
f_58477_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)
public (BlockPos pos, BlockState state, DyeColor baseColor)

Method summary

Modifier and TypeMethod
public void
a(cuq arg0, cti arg1)
fromItem(ItemStack arg0, DyeColor arg1)
method_10913(class_1799 arg0, class_1767 arg1)
readFrom(ItemStack stack, DyeColor baseColor)
m_58489_(C_1391_ p_58491_, C_1353_ arg1)
public Component
ah()
getName()
method_5477()
getName()
m_7755_()
public Component
aj()
getCustomName()
method_5797()
getCustomName()
m_7770_()
protected void
b(ub arg0, jo$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
m_183515_(C_4917_ p_329292_, C_213466_$C_254607_ arg1)
protected void
a(ub arg0, jo$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
m_318667_(C_4917_ p_330621_, C_213466_$C_254607_ arg1)
public ClientboundBlockEntityDataPacket
a()
getUpdatePacket()
method_16886()
toUpdatePacket()
m_58483_()
public CompoundTag
a(jo$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
m_5995_(C_213466_$C_254607_ arg0)
public BannerPatternLayers
b()
getPatterns()
method_58122()
getPatterns()
m_58508_()
public ItemStack
c()
getItem()
method_10907()
getPickStack()
m_155043_()
public DyeColor
f()
getBaseColor()
method_10908()
getColorForState()
m_155044_()
protected void
a(dqh$b arg0)
applyImplicitComponents(BlockEntity$DataComponentInput arg0)
method_57568(class_2586$class_9473 arg0)
readComponents(BlockEntity$ComponentsAccess arg0)
m_318741_(C_1991_$C_313341_ arg0)
protected void
a(km$a arg0)
collectImplicitComponents(DataComponentMap$Builder arg0)
method_57567(class_9323$class_9324 arg0)
addComponents(ComponentMap$Builder arg0)
m_318837_(C_313470_$C_313535_ arg0)
public void
a(ub arg0)
removeComponentsFromTag(CompoundTag arg0)
method_57569(class_2487 arg0)
removeFromCopiedStackNbt(NbtCompound arg0)
m_318942_(C_4917_ arg0)