net.minecraft.world.level.block.entity

public abstract class RandomizableContainerBlockEntity

extends BaseContainerBlockEntity

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable

bxc
net.minecraft.world.level.block.entity.RandomizableContainerBlockEntity
net.minecraft.class_2621
net.minecraft.block.entity.LootableContainerBlockEntity
net.minecraft.tileentity.LockableLootTileEntity
net.minecraft.server.v1_15_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(bjd arg0, Random arg1, fk arg2, sm 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
d(jt arg0)
tryLoadLootTable(CompoundTag arg0)
method_11283(class_2487 arg0)
deserializeLootTable(CompoundTag arg0)
func_184283_b(CompoundNBT arg0)
protected boolean
e(jt arg0)
trySaveLootTable(CompoundTag arg0)
method_11286(class_2487 arg0)
serializeLootTable(CompoundTag arg0)
func_184282_c(CompoundNBT arg0)
public void
d(ayg arg0)
unpackLootTable(Player arg0)
method_11289(class_1657 arg0)
checkLootInteraction(PlayerEntity arg0)
func_184281_d(PlayerEntity arg0)
public void
a(sm 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()
isInvEmpty()
func_191420_l()
isNotEmpty()
public ItemStack
a(int arg0)
getItem(int arg0)
method_5438(int arg0)
getInvStack(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)
takeInvStack(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)
removeInvStack(int arg0)
func_70304_b(int arg0)
splitWithoutUpdate(int arg0)
public void
a(int arg0, bek arg1)
setItem(int arg0, ItemStack arg1)
method_5447(int arg0, class_1799 arg1)
setInvStack(int arg0, ItemStack arg1)
func_70299_a(int arg0, ItemStack arg1)
setItem(int arg0, ItemStack arg1)
public boolean
a(ayg arg0)
stillValid(Player arg0)
method_5443(class_1657 arg0)
canPlayerUseInv(PlayerEntity arg0)
func_70300_a(PlayerEntity arg0)
public void
N_()
clearContent()
method_5448()
clear()
func_174888_l()
clear()
protected abstract NonNullList<ItemStack>
f()
getItems()
method_11282()
getInvStackList()
func_190576_q()
protected abstract void
a(fy<bek> 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(ayg arg0)
canOpen(Player arg0)
method_17489(class_1657 arg0)
checkUnlocked(PlayerEntity arg0)
func_213904_e(PlayerEntity arg0)
public AbstractContainerMenu
createMenu(int arg0, ayf arg1, ayg 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)