net.minecraft.world.level.block.entity

public abstract class BaseContainerBlockEntity

extends BlockEntity implements Container, MenuProvider, Nameable

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable

bwc
net.minecraft.world.level.block.entity.BaseContainerBlockEntity
net.minecraft.class_2624
net.minecraft.unmapped.C_uomuzarq
net.minecraft.block.entity.LockableContainerBlockEntity
net.minecraft.tileentity.LockableTileEntity
net.minecraft.server.v1_15_R1.TileEntityContainer

Field summary

Modifier and TypeField
private LockCode
a
lockKey
field_12045
f_klvesken
lock
field_174901_a
chestLock
private Component
b
name
field_17376
f_xoshxcvd
customName
field_213909_b
customName

Constructor summary

ModifierConstructor
protected (BlockEntityType<?> arg0)

Method summary

Modifier and TypeMethod
public void
a(jt arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
m_dfzdncts(C_hhlwcnih arg0)
fromTag(CompoundTag arg0)
func_145839_a(CompoundNBT arg0)
load(NBTTagCompound arg0)
public CompoundTag
b(jt arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
m_fzlqwslp(C_hhlwcnih arg0)
toTag(CompoundTag arg0)
func_189515_b(CompoundNBT arg0)
save(NBTTagCompound arg0)
public void
a(lf arg0)
setCustomName(Component arg0)
method_17488(class_2561 arg0)
m_daarylpn(C_rdaqiwdt arg0)
setCustomName(Text customName)
func_213903_a(ITextComponent arg0)
setCustomName(IChatBaseComponent arg0)
public Component
M()
getName()
method_5477()
m_ymwfywvb()
getName()
func_200200_C_()
getDisplayName()
public Component
d()
getDisplayName()
method_5476()
m_hyhtasei()
getDisplayName()
func_145748_c_()
getScoreboardDisplayName()
public Component
O()
getCustomName()
method_5797()
m_admxpjqc()
getCustomName()
func_200201_e()
getCustomName()
protected abstract Component
g()
getDefaultName()
method_17823()
m_egjsjpyi()
getContainerName()
func_213907_g()
getContainerName()
public boolean
e(ayg arg0)
canOpen(Player arg0)
method_17489(class_1657 arg0)
m_byzxpqit(C_jzrpycqo arg0)
checkUnlocked(PlayerEntity player)
func_213904_e(PlayerEntity arg0)
public static boolean
a(ayg arg0, ajk arg1, lf 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)
func_213905_a(PlayerEntity arg0, LockCode arg1, ITextComponent arg2)
public AbstractContainerMenu
createMenu(int arg0, ayf arg1, ayg arg2)
createMenu(int arg0, Inventory arg1, Player arg2)
createMenu(int arg0, class_1661 arg1, class_1657 arg2)
createMenu(int arg0, PlayerInventory arg1, PlayerEntity arg2)
createMenu(int arg0, PlayerInventory arg1, PlayerEntity arg2)
protected abstract AbstractContainerMenu
a(int arg0, ayf arg1)
createMenu(int arg0, Inventory arg1)
method_5465(int arg0, class_1661 arg1)
m_zoafdewc(int arg0, C_sxzqocrm arg1)
createContainer(int arg0, PlayerInventory arg1)
func_213906_a(int arg0, PlayerInventory arg1)
createContainer(int arg0, PlayerInventory arg1)