net.minecraft.world.level.block.entity

public class BannerBlockEntity

extends BlockEntity implements Nameable

All mapped superinterfaces:

Nameable

dum
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 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 void
a(cxp arg0, cwm arg1)
fromItem(ItemStack arg0, DyeColor arg1)
method_10913(class_1799 arg0, class_1767 arg1)
readFrom(ItemStack stack, DyeColor baseColor)
public Component
al()
getName()
method_5477()
getName()
public Component
an()
getCustomName()
method_5797()
getCustomName()
protected void
b(ux arg0, js$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(ux arg0, js$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(js$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(dux$b arg0)
applyImplicitComponents(BlockEntity$DataComponentInput arg0)
method_57568(class_2586$class_9473 arg0)
readComponents(BlockEntity$ComponentsAccess arg0)
protected void
a(kq$a arg0)
collectImplicitComponents(DataComponentMap$Builder arg0)
method_57567(class_9323$class_9324 arg0)
addComponents(ComponentMap$Builder arg0)
public void
a(ux arg0)
removeComponentsFromTag(CompoundTag arg0)
method_57569(class_2487 arg0)
removeFromCopiedStackNbt(NbtCompound arg0)