net.minecraft.world.level.block.entity

public abstract class BaseContainerBlockEntity

extends BlockEntity implements Container, MenuProvider, Nameable

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable

cca
net.minecraft.world.level.block.entity.BaseContainerBlockEntity
net.minecraft.class_2624
net.minecraft.block.entity.LockableContainerBlockEntity
net.minecraft.tileentity.LockableTileEntity
net.minecraft.server.v1_16_R2.TileEntityContainer

Field summary

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

Constructor summary

ModifierConstructor
protected (BlockEntityType<?> arg0)

Method summary

Modifier and TypeMethod
public void
a(cee arg0, md arg1)
load(BlockState arg0, CompoundTag arg1)
method_11014(class_2680 arg0, class_2487 arg1)
fromTag(BlockState arg0, CompoundTag arg1)
func_230337_a_(BlockState arg0, CompoundNBT arg1)
load(IBlockData arg0, NBTTagCompound arg1)
public CompoundTag
a(md arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
toTag(CompoundTag arg0)
func_189515_b(CompoundNBT arg0)
save(NBTTagCompound arg0)
public void
a(nr arg0)
setCustomName(Component arg0)
method_17488(class_2561 arg0)
setCustomName(Text customName)
func_213903_a(ITextComponent arg0)
setCustomName(IChatBaseComponent arg0)
public Component
Q()
getName()
method_5477()
getName()
func_200200_C_()
getDisplayName()
public Component
d()
getDisplayName()
method_5476()
getDisplayName()
func_145748_c_()
getScoreboardDisplayName()
public Component
S()
getCustomName()
method_5797()
getCustomName()
func_200201_e()
getCustomName()
protected abstract Component
g()
getDefaultName()
method_17823()
getContainerName()
func_213907_g()
getContainerName()
public boolean
e(bft arg0)
canOpen(Player arg0)
method_17489(class_1657 arg0)
checkUnlocked(PlayerEntity player)
func_213904_e(PlayerEntity arg0)
public static boolean
a(bft arg0, aot arg1, nr arg2)
canUnlock(Player arg0, LockCode arg1, Component arg2)
method_17487(class_1657 arg0, class_1273 arg1, class_2561 arg2)
checkUnlocked(PlayerEntity player, ContainerLock lock, Text containerName)
func_213905_a(PlayerEntity arg0, LockCode arg1, ITextComponent arg2)
public AbstractContainerMenu
createMenu(int arg0, bfs arg1, bft 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, bfs arg1)
createMenu(int arg0, Inventory arg1)
method_5465(int arg0, class_1661 arg1)
createScreenHandler(int syncId, PlayerInventory playerInventory)
func_213906_a(int arg0, PlayerInventory arg1)
createContainer(int arg0, PlayerInventory arg1)