net.minecraft.world.level.block.entity

public abstract class BaseContainerBlockEntity

extends BlockEntity implements Container, MenuProvider, Nameable

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable

dtu
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
d
lockKey
field_12045
f_klvesken
lock
lock
f_58621_
private Component
e
name
field_17376
f_xoshxcvd
customName
customName
f_58622_

Constructor summary

ModifierConstructor
protected (BlockEntityType<?> p_155077_, BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected void
a(tq arg0, jt$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
m_trzmaydr(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
readNbtImpl(NbtCompound arg0, HolderLookup$Provider arg1)
m_318667_(C_4917_ p_329555_, C_213466_$C_254607_ arg1)
protected void
b(tq arg0, jt$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
m_qopnimsa(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
writeNbt(NbtCompound arg0, HolderLookup$Provider arg1)
m_183515_(C_4917_ p_335192_, C_213466_$C_254607_ arg1)
public Component
al()
getName()
method_5477()
m_ymwfywvb()
getName()
getName()
m_7755_()
public Component
p_()
getDisplayName()
method_5476()
m_hyhtasei()
getDisplayName()
getDisplayName()
m_5446_()
public Component
an()
getCustomName()
method_5797()
m_admxpjqc()
getCustomName()
getCustomName()
m_7770_()
protected abstract Component
j()
getDefaultName()
method_17823()
m_egjsjpyi()
getContainerName()
getContainerName()
m_6820_()
public boolean
d(coy 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(coy arg0, bsm arg1, wp 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_)
protected abstract NonNullList<ItemStack>
f()
getItems()
method_11282()
m_drxlwzcv()
getHeldStacks()
getInventory()
m_58617_()
protected abstract void
a(ka<cwq> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
m_nnlaacjo(C_rnrfftze<C_sddaxwyk> arg0)
setHeldStacks(DefaultedList<ItemStack> inventory)
setInventory(DefaultedList<ItemStack> arg0)
m_58609_(C_4702_<C_1391_> arg0)
public boolean
c()
isEmpty()
method_5442()
m_ohnjwggm()
isEmpty()
isEmpty()
m_7983_()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
m_jzosiplc(int arg0)
getStack(int arg0)
getStack(int arg0)
m_8020_(int arg0)
public ItemStack
a(int arg0, int arg1)
removeItem(int arg0, int arg1)
method_5434(int arg0, int arg1)
m_jqhmcoxx(int arg0, int arg1)
removeStack(int arg0, int arg1)
removeStack(int arg0, int arg1)
m_7407_(int p_332088_, int arg1)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
m_ujfmycis(int arg0)
removeStack(int arg0)
removeStack(int arg0)
m_8016_(int arg0)
public void
a(int arg0, cwq arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
m_akaynoad(int arg0, C_sddaxwyk arg1)
setStack(int arg0, ItemStack arg1)
setStack(int arg0, ItemStack arg1)
m_6836_(int p_333112_, C_1391_ arg1)
public boolean
a(coy arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
m_noresdqq(C_jzrpycqo arg0)
canPlayerUse(PlayerEntity arg0)
canPlayerUse(PlayerEntity arg0)
m_6542_(C_1141_ arg0)
public void
a()
clearContent()
method_5448()
m_rufrndtr()
clear()
clear()
m_6211_()
public AbstractContainerMenu
createMenu(int arg0, cox arg1, coy 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, cox 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 arg0, PlayerInventory arg1)
m_6555_(int p_58628_, C_1140_ arg1)
protected void
a(dua$b arg0)
applyImplicitComponents(BlockEntity$DataComponentInput arg0)
method_57568(class_2586$class_9473 arg0)
m_cckjpvhm(C_kvegafmh$C_uyhxhbrv arg0)
readComponents(BlockEntity$ComponentsAccess arg0)
readComponents(BlockEntity$ComponentAccess arg0)
m_318741_(C_1991_$C_313341_ arg0)
protected void
a(kr$a arg0)
collectImplicitComponents(DataComponentMap$Builder arg0)
method_57567(class_9323$class_9324 arg0)
m_apmtvpji(C_kouhnfig$C_vfzyoahz arg0)
addComponents(ComponentMap$Builder arg0)
addComponents(DataComponentMap$Builder arg0)
m_318837_(C_313470_$C_313535_ arg0)
public void
a(tq arg0)
removeComponentsFromTag(CompoundTag arg0)
method_57569(class_2487 arg0)
m_pcgjfrqh(C_hhlwcnih arg0)
removeFromCopiedStackNbt(NbtCompound arg0)
removeComponentData(NbtCompound arg0)
m_318942_(C_4917_ arg0)