net.minecraft.world.level.block.entity

public class BannerBlockEntity

extends BlockEntity implements Nameable

All mapped superinterfaces:

Nameable

cih
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
public static final int
a
MAX_PATTERNS
field_31296
field_31296
f_155030_
public static final String
b
TAG_PATTERNS
field_31297
PATTERNS_KEY
f_155031_
public static final String
c
TAG_PATTERN
field_31298
PATTERN_KEY
f_155032_
public static final String
d
TAG_COLOR
field_31299
COLOR_KEY
f_155033_
private Component
e
name
field_11772
customName
f_58473_
private DyeColor
f
baseColor
field_11774
baseColor
f_58474_
private ListTag
g
itemPatterns
field_11773
patternListTag
f_58475_
private boolean
h
receivedData
field_11770
patternListTagRead
f_58476_
private List<com.mojang.datafixers.util.Pair<BannerPattern, DyeColor>>
i
patterns
field_11769
patterns
f_58477_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static ListTag
a(bqq arg0)
getItemPatterns(ItemStack arg0)
method_24281(class_1799 arg0)
getPatternListTag(ItemStack stack)
m_58487_(C_1391_ p_58488_)
public void
a(bqq arg0, bpm 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
S()
getName()
method_5477()
getName()
m_7755_()
getDisplayName()
public Component
U()
getCustomName()
method_5797()
getCustomName()
m_7770_()
getCustomName()
public void
a(os arg0)
setCustomName(Component arg0)
method_16842(class_2561 arg0)
setCustomName(Text customName)
m_58501_(C_4996_ arg0)
public CompoundTag
b(na arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
m_6945_(C_4917_ arg0)
save(NBTTagCompound arg0)
public void
a(na arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
load(NBTTagCompound arg0)
public ClientboundBlockEntityDataPacket
Y_()
getUpdatePacket()
method_16886()
toUpdatePacket()
m_7033_()
getUpdatePacket()
public CompoundTag
Z_()
getUpdateTag()
method_16887()
toInitialChunkDataNbt()
m_5995_()
public static int
b(bqq arg0)
getPatternCount(ItemStack arg0)
method_10910(class_1799 arg0)
getPatternCount(ItemStack stack)
m_58504_(C_1391_ p_58505_)
public List<com.mojang.datafixers.util.Pair<BannerPattern, DyeColor>>
c()
getPatterns()
method_10911()
getPatterns()
m_58508_()
public static List<com.mojang.datafixers.util.Pair<BannerPattern, DyeColor>>
a(bpm arg0, ng arg1)
createPatterns(DyeColor arg0, ListTag arg1)
method_24280(class_1767 arg0, class_2499 arg1)
getPatternsFromNbt(DyeColor baseColor, NbtList patternListTag)
m_58484_(C_1353_ p_58485_, C_4930_ p_58486_)
public static void
c(bqq arg0)
removeLastPattern(ItemStack arg0)
method_10905(class_1799 arg0)
loadFromItemStack(ItemStack stack)
m_58509_(C_1391_ p_58510_)
public ItemStack
f()
getItem()
method_10907()
getPickStack()
m_155043_()
public DyeColor
g()
getBaseColor()
method_10908()
getColorForState()
m_155044_()