net.minecraft.world.level.block.entity

public class BannerBlockEntity

extends BlockEntity implements Nameable

All mapped superinterfaces:

Nameable

csy
net.minecraft.world.level.block.entity.BannerBlockEntity
net.minecraft.class_2573
net.minecraft.unmapped.C_mwamopji
net.minecraft.block.entity.BannerBlockEntity
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
f_daunvrbx
field_31296
MAX_PATTERNS
f_155030_
public static final String
b
TAG_PATTERNS
field_31297
f_ejwtyvwp
PATTERNS_KEY
PATTERNS_KEY
f_155031_
public static final String
c
TAG_PATTERN
field_31298
f_updipmqi
PATTERN_KEY
PATTERN_KEY
f_155032_
public static final String
d
TAG_COLOR
field_31299
f_rtgcjtgw
COLOR_KEY
COLOR_KEY
f_155033_
private Component
e
name
field_11772
f_ufvgulvv
customName
customName
f_58473_
private DyeColor
f
baseColor
field_11774
f_rkjwxvms
baseColor
baseColor
f_58474_
private ListTag
g
itemPatterns
field_11773
f_wrdhglnc
patternListNbt
patternListTag
f_58475_
private List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>, DyeColor>>
h
patterns
field_11769
f_yqkmzniy
patterns
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(cax arg0)
getItemPatterns(ItemStack arg0)
method_24281(class_1799 arg0)
m_motigckk(C_sddaxwyk arg0)
getPatternListNbt(ItemStack stack)
getPatternListTag(ItemStack stack)
m_58487_(C_1391_ p_58488_)
public void
a(cax arg0, bzq arg1)
fromItem(ItemStack arg0, DyeColor arg1)
method_10913(class_1799 arg0, class_1767 arg1)
m_sjbdsuwo(C_sddaxwyk arg0, C_arllgqae arg1)
readFrom(ItemStack stack, DyeColor baseColor)
readFrom(ItemStack stack, DyeColor baseColor)
m_58489_(C_1391_ p_58491_, C_1353_ arg1)
public void
b(cax arg0)
fromItem(ItemStack arg0)
method_38992(class_1799 arg0)
m_uolufyem(C_sddaxwyk arg0)
readFrom(ItemStack stack)
readFrom(ItemStack stack)
m_187453_(C_1391_ arg0)
public Component
X()
getName()
method_5477()
m_ymwfywvb()
getName()
getName()
m_7755_()
public Component
Z()
getCustomName()
method_5797()
m_admxpjqc()
getCustomName()
getCustomName()
m_7770_()
public void
a(rq arg0)
setCustomName(Component arg0)
method_16842(class_2561 arg0)
m_tiztayte(C_rdaqiwdt arg0)
setCustomName(Text customName)
setCustomName(Text customName)
m_58501_(C_4996_ arg0)
protected void
b(pj arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
m_qopnimsa(C_hhlwcnih arg0)
writeNbt(NbtCompound arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public void
a(pj arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
m_dfzdncts(C_hhlwcnih arg0)
readNbt(NbtCompound arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
public ClientboundBlockEntityDataPacket
a()
getUpdatePacket()
method_16886()
m_yvfftmqt()
toUpdatePacket()
toUpdatePacket()
m_58483_()
public CompoundTag
aa_()
getUpdateTag()
method_16887()
m_escrnqip()
toInitialChunkDataNbt()
toInitialChunkDataNbt()
m_5995_()
public static int
c(cax arg0)
getPatternCount(ItemStack arg0)
method_10910(class_1799 arg0)
m_hbtwxsts(C_sddaxwyk arg0)
getPatternCount(ItemStack stack)
getPatternCount(ItemStack stack)
m_58504_(C_1391_ p_58505_)
public List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>, DyeColor>>
c()
getPatterns()
method_10911()
m_kmayejyb()
getPatterns()
getPatterns()
m_58508_()
public static List<com.mojang.datafixers.util.Pair<Holder<BannerPattern>, DyeColor>>
a(bzq arg0, pp arg1)
createPatterns(DyeColor arg0, ListTag arg1)
method_24280(class_1767 arg0, class_2499 arg1)
m_aeisuywk(C_arllgqae arg0, C_hqhtfwlr arg1)
getPatternsFromNbt(DyeColor baseColor, NbtList patternListNbt)
getPatternsFromNbt(DyeColor baseColor, NbtList patternListTag)
m_58484_(C_1353_ p_58485_, C_4930_ p_58486_)
public static void
d(cax arg0)
removeLastPattern(ItemStack arg0)
method_10905(class_1799 arg0)
m_kpuspucf(C_sddaxwyk arg0)
loadFromItemStack(ItemStack stack)
loadFromItemStack(ItemStack stack)
m_58509_(C_1391_ p_58510_)
public ItemStack
f()
getItem()
method_10907()
m_bxugddgd()
getPickStack()
getPickStack()
m_155043_()
public DyeColor
g()
getBaseColor()
method_10908()
m_wstxdupp()
getColorForState()
getColorForState()
m_155044_()