net.minecraft.world.level.block.entity

public abstract class BaseContainerBlockEntity

extends BlockEntity implements Container, MenuProvider, Nameable

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable

cik
net.minecraft.world.level.block.entity.BaseContainerBlockEntity
net.minecraft.class_2624
net.minecraft.unmapped.C_uomuzarq
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
f_58621_
private Component
c
name
field_17376
f_xoshxcvd
customName
f_58622_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(na arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
m_dfzdncts(C_hhlwcnih arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
load(NBTTagCompound arg0)
public CompoundTag
b(na arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
m_fzlqwslp(C_hhlwcnih arg0)
writeNbt(NbtCompound arg0)
m_6945_(C_4917_ arg0)
save(NBTTagCompound arg0)
public void
a(os arg0)
setCustomName(Component arg0)
method_17488(class_2561 arg0)
m_daarylpn(C_rdaqiwdt arg0)
setCustomName(Text customName)
m_58638_(C_4996_ arg0)
setCustomName(IChatBaseComponent arg0)
public Component
S()
getName()
method_5477()
m_ymwfywvb()
getName()
m_7755_()
getDisplayName()
public Component
B_()
getDisplayName()
method_5476()
m_hyhtasei()
getDisplayName()
m_5446_()
getScoreboardDisplayName()
public Component
U()
getCustomName()
method_5797()
m_admxpjqc()
getCustomName()
m_7770_()
getCustomName()
protected abstract Component
g()
getDefaultName()
method_17823()
m_egjsjpyi()
getContainerName()
m_6820_()
getContainerName()
public boolean
d(bke arg0)
canOpen(Player arg0)
method_17489(class_1657 arg0)
m_byzxpqit(C_jzrpycqo arg0)
checkUnlocked(PlayerEntity player)
m_7525_(C_1141_ arg0)
public static boolean
a(bke arg0, asd arg1, os 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)
m_58629_(C_1141_ p_58630_, C_473_ p_58631_, C_4996_ p_58632_)
public AbstractContainerMenu
createMenu(int arg0, bkd arg1, bke 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, bkd 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)
m_6555_(int p_58628_, C_1140_ arg1)
createContainer(int arg0, PlayerInventory arg1)