net.minecraft.world.level.block.entity

public class BannerBlockEntity

extends BlockEntity implements Nameable

All mapped superinterfaces:

Nameable

dtp
net.minecraft.world.level.block.entity.BannerBlockEntity
net.minecraft.class_2573
net.minecraft.block.entity.BannerBlockEntity
net.minecraft.world.level.block.entity.TileEntityBanner

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public Component
al()
getName()
method_5477()
getName()
public Component
an()
getCustomName()
method_5797()
getCustomName()
protected void
b(tq arg0, jt$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
protected void
a(tq arg0, jt$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
public ClientboundBlockEntityDataPacket
a()
getUpdatePacket()
method_16886()
toUpdatePacket()
public CompoundTag
a(jt$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
public BannerPatternLayers
b()
getPatterns()
method_58122()
getPatterns()
public ItemStack
c()
getItem()
method_10907()
getPickStack()
public DyeColor
f()
getBaseColor()
method_10908()
getColorForState()
protected void
a(dua$b arg0)
applyImplicitComponents(BlockEntity$DataComponentInput arg0)
method_57568(class_2586$class_9473 arg0)
readComponents(BlockEntity$ComponentsAccess arg0)
protected void
a(kr$a arg0)
collectImplicitComponents(DataComponentMap$Builder arg0)
method_57567(class_9323$class_9324 arg0)
addComponents(ComponentMap$Builder arg0)
public void
a(tq arg0)
removeComponentsFromTag(CompoundTag arg0)
method_57569(class_2487 arg0)
removeFromCopiedStackNbt(NbtCompound arg0)