net.minecraft.world.level.block.entity

public abstract class RandomizableContainerBlockEntity

extends BaseContainerBlockEntity

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable

cjm
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
g
lootTable
field_12037
lootTableId
f_59605_
protected long
h
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(bvt arg0, Random arg1, gg arg2, ww arg3)
setLootTable(BlockGetter arg0, Random arg1, BlockPos arg2, ResourceLocation arg3)
method_11287(class_1922 arg0, Random arg1, class_2338 arg2, class_2960 arg3)
setLootTable(BlockView world, Random random, BlockPos pos, Identifier id)
m_59620_(C_1559_ p_59621_, Random p_59622_, C_4675_ p_59623_, C_5265_ p_59624_)
protected boolean
c(na arg0)
tryLoadLootTable(CompoundTag arg0)
method_11283(class_2487 arg0)
deserializeLootTable(NbtCompound nbt)
m_59631_(C_4917_ arg0)
protected boolean
d(na arg0)
trySaveLootTable(CompoundTag arg0)
method_11286(class_2487 arg0)
serializeLootTable(NbtCompound nbt)
m_59634_(C_4917_ arg0)
public void
e(bkd arg0)
unpackLootTable(Player arg0)
method_11289(class_1657 arg0)
checkLootInteraction(PlayerEntity player)
m_59640_(C_1141_ arg0)
public void
a(ww 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)
setLootTable(MinecraftKey arg0, long arg1)
public boolean
c()
isEmpty()
method_5442()
isEmpty()
m_7983_()
isEmpty()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
getStack(int arg0)
m_8020_(int arg0)
getItem(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)
splitStack(int arg0, int arg1)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
removeStack(int arg0)
m_8016_(int arg0)
splitWithoutUpdate(int arg0)
public void
a(int arg0, bqp 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)
setItem(int arg0, ItemStack arg1)
public boolean
a(bkd 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_()
clear()
protected abstract NonNullList<ItemStack>
f()
getItems()
method_11282()
getInvStackList()
m_7086_()
protected abstract void
a(gs<bqp> 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(bkd arg0)
canOpen(Player arg0)
method_17489(class_1657 arg0)
checkUnlocked(PlayerEntity arg0)
m_7525_(C_1141_ arg0)
public AbstractContainerMenu
createMenu(int arg0, bkc arg1, bkd 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)