net.minecraft.world.level.block.entity

public abstract class RandomizableContainerBlockEntity

extends BaseContainerBlockEntity

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable

cef
net.minecraft.world.level.block.entity.RandomizableContainerBlockEntity
net.minecraft.class_2621
net.minecraft.block.entity.LootableContainerBlockEntity
net.minecraft.tileentity.LockableLootTileEntity
net.minecraft.server.v1_16_R1.TileEntityLootable

Field summary

Modifier and TypeField
protected ResourceLocation
g
lootTable
field_12037
lootTableId
field_184284_m
lootTable
protected long
h
lootTableSeed
field_12036
lootTableSeed
field_184285_n
lootTableSeed

Constructor summary

ModifierConstructor
protected (BlockEntityType<?> arg0)

Method summary

Modifier and TypeMethod
public static void
a(bpg arg0, Random arg1, fu arg2, uh 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)
func_195479_a(IBlockReader arg0, Random arg1, BlockPos arg2, ResourceLocation arg3)
protected boolean
b(le arg0)
tryLoadLootTable(CompoundTag arg0)
method_11283(class_2487 arg0)
deserializeLootTable(CompoundTag arg0)
func_184283_b(CompoundNBT arg0)
protected boolean
c(le arg0)
trySaveLootTable(CompoundTag arg0)
method_11286(class_2487 arg0)
serializeLootTable(CompoundTag arg0)
func_184282_c(CompoundNBT arg0)
public void
d(bec arg0)
unpackLootTable(Player arg0)
method_11289(class_1657 arg0)
checkLootInteraction(PlayerEntity player)
func_184281_d(PlayerEntity arg0)
public void
a(uh arg0, long arg1)
setLootTable(ResourceLocation arg0, long arg1)
method_11285(class_2960 arg0, long arg1)
setLootTable(Identifier id, long seed)
func_189404_a(ResourceLocation arg0, long arg1)
setLootTable(MinecraftKey arg0, long arg1)
public boolean
c()
isEmpty()
method_5442()
isEmpty()
func_191420_l()
isEmpty()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
getStack(int arg0)
func_70301_a(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)
func_70298_a(int arg0, int arg1)
splitStack(int arg0, int arg1)
public ItemStack
b(int arg0)
removeItemNoUpdate(int arg0)
method_5441(int arg0)
removeStack(int arg0)
func_70304_b(int arg0)
splitWithoutUpdate(int arg0)
public void
a(int arg0, bki arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setStack(int arg0, ItemStack arg1)
func_70299_a(int arg0, ItemStack arg1)
setItem(int arg0, ItemStack arg1)
public boolean
a(bec arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUse(PlayerEntity arg0)
func_70300_a(PlayerEntity arg0)
public void
aa_()
clearContent()
method_5448()
clear()
func_174888_l()
clear()
protected abstract NonNullList<ItemStack>
f()
getItems()
method_11282()
getInvStackList()
func_190576_q()
protected abstract void
a(gi<bki> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
setInvStackList(DefaultedList<ItemStack> list)
func_199721_a(NonNullList<ItemStack> arg0)
public boolean
e(bec arg0)
canOpen(Player arg0)
method_17489(class_1657 arg0)
checkUnlocked(PlayerEntity arg0)
func_213904_e(PlayerEntity arg0)
public AbstractContainerMenu
createMenu(int arg0, beb arg1, bec 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)