net.minecraft.world.level.block.entity

public class BarrelBlockEntity

extends RandomizableContainerBlockEntity

All mapped superinterfaces:

Container, Clearable, MenuProvider, MenuConstructor, Nameable

bwb
net.minecraft.world.level.block.entity.BarrelBlockEntity
net.minecraft.class_3719
net.minecraft.block.entity.BarrelBlockEntity
net.minecraft.tileentity.BarrelTileEntity
net.minecraft.server.v1_15_R1.TileEntityBarrel

Field summary

Modifier and TypeField
private NonNullList<ItemStack>
a
items
field_16410
inventory
field_213966_a
items
private int
b
openCount
field_17583
viewerCount
field_213967_b

Constructor summary

ModifierConstructor
private (BlockEntityType<?> arg0)
public ()

Method summary

Modifier and TypeMethod
public CompoundTag
b(jt arg0)
save(CompoundTag arg0)
method_11007(class_2487 arg0)
toTag(CompoundTag arg0)
func_189515_b(CompoundNBT arg0)
save(NBTTagCompound arg0)
public void
a(jt arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
fromTag(CompoundTag arg0)
func_145839_a(CompoundNBT arg0)
load(NBTTagCompound arg0)
public int
O_()
getContainerSize()
method_5439()
getInvSize()
func_70302_i_()
getSize()
protected NonNullList<ItemStack>
f()
getItems()
method_11282()
getInvStackList()
func_190576_q()
protected void
a(fy<bek> arg0)
setItems(NonNullList<ItemStack> arg0)
method_11281(class_2371<class_1799> arg0)
setInvStackList(DefaultedList<ItemStack> arg0)
func_199721_a(NonNullList<ItemStack> arg0)
protected Component
g()
getDefaultName()
method_17823()
getContainerName()
func_213907_g()
getContainerName()
protected AbstractContainerMenu
a(int arg0, ayf arg1)
createMenu(int arg0, Inventory arg1)
method_5465(int arg0, class_1661 arg1)
createContainer(int arg0, PlayerInventory arg1)
func_213906_a(int arg0, PlayerInventory arg1)
createContainer(int arg0, PlayerInventory arg1)
public void
a_(ayg arg0)
startOpen(Player arg0)
method_5435(class_1657 arg0)
onInvOpen(PlayerEntity arg0)
func_174889_b(PlayerEntity arg0)
startOpen(EntityHuman arg0)
private void
j()
scheduleRecheck()
method_20363()
scheduleUpdate()
func_213964_r()
public void
h()
recheckOpen()
method_20362()
tick()
func_213962_h()
public void
b_(ayg arg0)
stopOpen(Player arg0)
method_5432(class_1657 arg0)
onInvClose(PlayerEntity arg0)
func_174886_c(PlayerEntity arg0)
closeContainer(EntityHuman arg0)
private void
a(byg arg0, boolean arg1)
updateBlockState(BlockState arg0, boolean arg1)
method_18318(class_2680 arg0, boolean arg1)
setOpen(BlockState state, boolean open)
func_213963_a(BlockState arg0, boolean arg1)
private void
a(byg arg0, aah arg1)
playSound(BlockState arg0, SoundEvent arg1)
method_17764(class_2680 arg0, class_3414 arg1)
playSound(BlockState arg0, SoundEvent arg1)
func_213965_a(BlockState arg0, SoundEvent arg1)