net.minecraft.world.level.block.entity

public abstract class RandomizableContainerBlockEntity

extends BaseContainerBlockEntity

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable

ddy
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
public static final String
d
LOOT_TABLE_TAG
field_31353
LOOT_TABLE_KEY
f_155626_
public static final String
e
LOOT_TABLE_SEED_TAG
field_31352
LOOT_TABLE_SEED_KEY
f_155627_
protected ResourceLocation
h
lootTable
field_12037
lootTableId
f_59605_
protected long
i
lootTableSeed
field_12036
lootTableSeed
f_59606_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static void
a(cpb arg0, asc arg1, gw arg2, aew arg3)
setLootTable(BlockGetter arg0, RandomSource arg1, BlockPos arg2, ResourceLocation arg3)
method_11287(class_1922 arg0, class_5819 arg1, class_2338 arg2, class_2960 arg3)
setLootTable(BlockView world, Random random, BlockPos pos, Identifier id)
m_222766_(C_1559_ p_222767_, C_212974_ p_222768_, C_4675_ p_222769_, C_5265_ p_222770_)
protected boolean
d(qw arg0)
tryLoadLootTable(CompoundTag arg0)
method_11283(class_2487 arg0)
deserializeLootTable(NbtCompound nbt)
m_59631_(C_4917_ arg0)
protected boolean
e(qw arg0)
trySaveLootTable(CompoundTag arg0)
method_11286(class_2487 arg0)
serializeLootTable(NbtCompound nbt)
m_59634_(C_4917_ arg0)
public void
e(cbu arg0)
unpackLootTable(Player arg0)
method_11289(class_1657 arg0)
checkLootInteraction(PlayerEntity player)
m_59640_(C_1141_ arg0)
public void
a(aew arg0, long arg1)
setLootTable(ResourceLocation arg0, long arg1)
method_11285(class_2960 arg0, long arg1)
setLootTable(Identifier id, long seed)
m_59626_(C_5265_ p_59628_, long arg1)
public boolean
af_()
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, cjf 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
a(cbu arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
m_6542_(C_1141_ arg0)
public void
a()
clearContent()
method_5448()
clear()
m_6211_()
protected abstract NonNullList<ItemStack>
f()
getItems()
method_11282()
getInvStackList()
m_7086_()
protected abstract void
a(hn<cjf> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
setInvStackList(DefaultedList<ItemStack> list)
m_6520_(C_4702_<C_1391_> arg0)
public boolean
d(cbu arg0)
canOpen(Player arg0)
method_17489(class_1657 arg0)
checkUnlocked(PlayerEntity arg0)
m_7525_(C_1141_ arg0)
public AbstractContainerMenu
createMenu(int arg0, cbt arg1, cbu 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)