net.minecraft.world.level.block.entity

public abstract class RandomizableContainerBlockEntity

extends BaseContainerBlockEntity implements RandomizableContainer

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable, RandomizableContainer

drn
net.minecraft.world.level.block.entity.RandomizableContainerBlockEntity
net.minecraft.class_2621
net.minecraft.block.entity.LootableContainerBlockEntity
net.minecraft.src.C_2020_
net.minecraft.world.level.block.entity.TileEntityLootable

Field summary

Modifier and TypeField
protected ResourceKey<LootTable>
l
lootTable
field_12037
lootTable
f_59605_
protected long
m
lootTableSeed
field_12036
lootTableSeed
f_59606_

Constructor summary

ModifierConstructor
protected (BlockEntityType<?> p_155630_, BlockPos p_155631_, BlockState arg2)

Method summary

Modifier and TypeMethod
public ResourceKey<LootTable>
aB_()
getLootTable()
method_54869()
getLootTable()
m_305426_()
public void
a(akq<erw> arg0)
setLootTable(ResourceKey<LootTable> arg0)
method_11285(class_5321<class_52> arg0)
setLootTable(RegistryKey<LootTable> arg0)
m_59626_(C_5264_<C_2822_> arg0)
public long
aC_()
getLootTableSeed()
method_54870()
getLootTableSeed()
m_305628_()
public void
a(long arg0)
setLootTableSeed(long arg0)
method_54866(long arg0)
setLootTableSeed(long arg0)
m_305699_(long arg0)
public boolean
c()
isEmpty()
method_5442()
isEmpty()
m_7983_()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(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)
removeStack(int arg0, int arg1)
m_7407_(int p_59614_, int arg1)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
removeStack(int arg0)
m_8016_(int arg0)
public void
a(int arg0, cuq arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setStack(int arg0, ItemStack arg1)
m_6836_(int p_59617_, C_1391_ arg1)
public boolean
d(cmx arg0)
canOpen(Player arg0)
method_17489(class_1657 arg0)
checkUnlocked(PlayerEntity arg0)
m_7525_(C_1141_ arg0)
public AbstractContainerMenu
createMenu(int arg0, cmw arg1, cmx 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_59638_, C_1140_ p_59639_, C_1141_ arg2)
protected void
a(dqh$b arg0)
applyImplicitComponents(BlockEntity$DataComponentInput arg0)
method_57568(class_2586$class_9473 arg0)
readComponents(BlockEntity$ComponentsAccess arg0)
m_318741_(C_1991_$C_313341_ arg0)
protected void
a(km$a arg0)
collectImplicitComponents(DataComponentMap$Builder arg0)
method_57567(class_9323$class_9324 arg0)
addComponents(ComponentMap$Builder arg0)
m_318837_(C_313470_$C_313535_ arg0)
public void
a(ub arg0)
removeComponentsFromTag(CompoundTag arg0)
method_57569(class_2487 arg0)
removeFromCopiedStackNbt(NbtCompound arg0)
m_318942_(C_4917_ arg0)