net.minecraft.block.entity

class BarrelBlockEntity$1

extends ViewerCountManager

net.minecraft.world.level.block.entity.BarrelBlockEntity$1
net.minecraft.class_3719$1
net.minecraft.block.entity.BarrelBlockEntity$1

Field summary

Modifier and TypeField
final BarrelBlockEntity
this$0
field_27208
field_27208

Constructor summary

ModifierConstructor
(BarrelBlockEntity this$0)

Method summary

Modifier and TypeMethod
protected void
onOpen(Level level, BlockPos pos, BlockState state)
method_31681(class_1937 arg0, class_2338 arg1, class_2680 arg2)
onContainerOpen(World arg0, BlockPos arg1, BlockState arg2)
protected void
onClose(Level level, BlockPos pos, BlockState state)
method_31683(class_1937 arg0, class_2338 arg1, class_2680 arg2)
onContainerClose(World arg0, BlockPos arg1, BlockState arg2)
protected void
openerCountChanged(Level level, BlockPos pos, BlockState blockState, int previous, int current)
method_31682(class_1937 arg0, class_2338 arg1, class_2680 arg2, int arg3, int arg4)
onViewerCountUpdate(World arg0, BlockPos arg1, BlockState arg2, int arg3, int arg4)
public boolean
isOwnContainer(Player player)
method_31679(class_1657 arg0)
isPlayerViewing(PlayerEntity arg0)