net.minecraft.world.level.block.entity

public abstract class BaseContainerBlockEntity

extends BlockEntity implements Container, MenuProvider, Nameable

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable

csf
net.minecraft.world.level.block.entity.BaseContainerBlockEntity
net.minecraft.class_2624
net.minecraft.unmapped.C_uomuzarq
net.minecraft.block.entity.LockableContainerBlockEntity
net.minecraft.block.entity.LockableContainerBlockEntity
net.minecraft.src.C_1980_
net.minecraft.world.level.block.entity.TileEntityContainer

Field summary

Modifier and TypeField
private LockCode
b
lockKey
field_12045
f_klvesken
lock
lock
f_58621_
private Component
c
name
field_17376
f_xoshxcvd
customName
customName
f_58622_

Constructor summary

ModifierConstructor
protected (BlockEntityType<?> p_155077_, BlockPos p_155078_, BlockState arg2)

Method summary

Modifier and TypeMethod
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)
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(rm arg0)
setCustomName(Component arg0)
method_17488(class_2561 arg0)
m_daarylpn(C_rdaqiwdt arg0)
setCustomName(Text customName)
setCustomName(Text customName)
m_58638_(C_4996_ arg0)
public Component
X()
getName()
method_5477()
m_ymwfywvb()
getName()
getName()
m_7755_()
public Component
C_()
getDisplayName()
method_5476()
m_hyhtasei()
getDisplayName()
getDisplayName()
m_5446_()
public Component
Z()
getCustomName()
method_5797()
m_admxpjqc()
getCustomName()
getCustomName()
m_7770_()
protected abstract Component
g()
getDefaultName()
method_17823()
m_egjsjpyi()
getContainerName()
getContainerName()
m_6820_()
public boolean
d(btf arg0)
canOpen(Player arg0)
method_17489(class_1657 arg0)
m_byzxpqit(C_jzrpycqo arg0)
checkUnlocked(PlayerEntity player)
checkUnlocked(PlayerEntity player)
m_7525_(C_1141_ arg0)
public static boolean
a(btf arg0, azo arg1, rm arg2)
canUnlock(Player arg0, LockCode arg1, Component arg2)
method_17487(class_1657 arg0, class_1273 arg1, class_2561 arg2)
m_ixxdyeug(C_jzrpycqo arg0, C_jptzfwcb arg1, C_rdaqiwdt arg2)
checkUnlocked(PlayerEntity player, ContainerLock lock, Text containerName)
checkUnlocked(PlayerEntity player, ContainerLock lock, Text containerName)
m_58629_(C_1141_ p_58630_, C_473_ p_58631_, C_4996_ p_58632_)
public AbstractContainerMenu
createMenu(int arg0, bte arg1, btf arg2)
createMenu(int arg0, Inventory arg1, Player arg2)
createMenu(int arg0, class_1661 arg1, class_1657 arg2)
createMenu(int arg0, PlayerInventory arg1, PlayerEntity arg2)
m_7208_(int p_58642_, C_1140_ p_58643_, C_1141_ arg2)
protected abstract AbstractContainerMenu
a(int arg0, bte arg1)
createMenu(int arg0, Inventory arg1)
method_5465(int arg0, class_1661 arg1)
m_zoafdewc(int arg0, C_sxzqocrm arg1)
createScreenHandler(int syncId, PlayerInventory playerInventory)
createScreenHandler(int syncId, PlayerInventory playerInventory)
m_6555_(int p_58628_, C_1140_ arg1)