net.minecraft.world.level.block.entity

public abstract class ContainerOpenersCounter

ecp
net.minecraft.world.level.block.entity.ContainerOpenersCounter
net.minecraft.class_5561
net.minecraft.block.entity.ViewerCountManager

Field summary

Modifier and TypeField
private static final int
a
CHECK_TICK_DELAY
field_31339
SCHEDULE_TICK_DELAY
private int
b
openCount
field_27215
viewerCount
private double
c
maxInteractionRange
field_48376
maxBlockInteractionRange

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected abstract void
a(dno arg0, jb arg1, efg arg2)
onOpen(Level arg0, BlockPos arg1, BlockState arg2)
method_31681(class_1937 arg0, class_2338 arg1, class_2680 arg2)
onContainerOpen(World world, BlockPos pos, BlockState state)
protected abstract void
b(dno arg0, jb arg1, efg arg2)
onClose(Level arg0, BlockPos arg1, BlockState arg2)
method_31683(class_1937 arg0, class_2338 arg1, class_2680 arg2)
onContainerClose(World world, BlockPos pos, BlockState state)
protected abstract void
a(dno arg0, jb arg1, efg arg2, int arg3, int arg4)
openerCountChanged(Level arg0, BlockPos arg1, BlockState arg2, int arg3, int arg4)
method_31682(class_1937 arg0, class_2338 arg1, class_2680 arg2, int arg3, int arg4)
onViewerCountUpdate(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount)
public abstract boolean
a(cvm arg0)
isOwnContainer(Player arg0)
method_31679(class_1657 arg0)
isPlayerViewing(PlayerEntity player)
public void
a(cay arg0, dno arg1, jb arg2, efg arg3, double arg4)
incrementOpeners(LivingEntity arg0, Level arg1, BlockPos arg2, BlockState arg3, double arg4)
method_31684(class_1309 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, double arg4)
openContainer(LivingEntity user, World world, BlockPos pos, BlockState state, double userInteractionRange)
public void
a(cay arg0, dno arg1, jb arg2, efg arg3)
decrementOpeners(LivingEntity arg0, Level arg1, BlockPos arg2, BlockState arg3)
method_31685(class_1309 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3)
closeContainer(LivingEntity user, World world, BlockPos pos, BlockState state)
public List<ContainerUser>
a(dno arg0, jb arg1)
getEntitiesWithContainerOpen(Level arg0, BlockPos arg1)
method_56121(class_1937 arg0, class_2338 arg1)
getViewingUsers(World world, BlockPos pos)
private boolean
a(bzx arg0, jb arg1)
hasContainerOpen(Entity arg0, BlockPos arg1)
method_72654(class_1297 arg0, class_2338 arg1)
method_72654(Entity arg0, BlockPos arg1)
public void
c(dno arg0, jb arg1, efg arg2)
recheckOpeners(Level arg0, BlockPos arg1, BlockState arg2)
method_31686(class_1937 arg0, class_2338 arg1, class_2680 arg2)
updateViewerCount(World world, BlockPos pos, BlockState state)
public int
a()
getOpenerCount()
method_31678()
getViewerCount()
private static void
d(dno arg0, jb arg1, efg arg2)
scheduleRecheck(Level arg0, BlockPos arg1, BlockState arg2)
method_31687(class_1937 arg0, class_2338 arg1, class_2680 arg2)
scheduleBlockTick(World world, BlockPos pos, BlockState state)