net.minecraft.world.level.block.entity

public abstract class ContainerOpenersCounter

dxt
net.minecraft.world.level.block.entity.ContainerOpenersCounter
net.minecraft.class_5561
net.minecraft.unmapped.C_fuettijt
net.minecraft.block.entity.ViewerCountManager
net.minecraft.block.entity.ViewerCountManager

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected abstract void
a(dja arg0, iu arg1, eah arg2)
onOpen(Level arg0, BlockPos arg1, BlockState arg2)
method_31681(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_tfxkblsh(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
onContainerOpen(World world, BlockPos pos, BlockState state)
onContainerOpen(World world, BlockPos pos, BlockState state)
protected abstract void
b(dja arg0, iu arg1, eah arg2)
onClose(Level arg0, BlockPos arg1, BlockState arg2)
method_31683(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_ihzvykaw(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
onContainerClose(World world, BlockPos pos, BlockState state)
onContainerClose(World world, BlockPos pos, BlockState state)
protected abstract void
a(dja arg0, iu arg1, eah 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)
m_xktxaxdw(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2, int arg3, int arg4)
onViewerCountUpdate(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount)
onViewerCountUpdate(World world, BlockPos pos, BlockState state, int arg3, int arg4)
protected abstract boolean
a(crc arg0)
isOwnContainer(Player arg0)
method_31679(class_1657 arg0)
m_xndcmkdl(C_jzrpycqo arg0)
isPlayerViewing(PlayerEntity player)
isPlayerViewing(PlayerEntity player)
public void
a(crc arg0, dja arg1, iu arg2, eah arg3)
incrementOpeners(Player arg0, Level arg1, BlockPos arg2, BlockState arg3)
method_31684(class_1657 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3)
m_dcwpnmcq(C_jzrpycqo arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3)
openContainer(PlayerEntity player, World world, BlockPos pos, BlockState state)
openContainer(PlayerEntity player, World world, BlockPos pos, BlockState state)
public void
b(crc arg0, dja arg1, iu arg2, eah arg3)
decrementOpeners(Player arg0, Level arg1, BlockPos arg2, BlockState arg3)
method_31685(class_1657 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3)
m_kitmnmor(C_jzrpycqo arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3)
closeContainer(PlayerEntity player, World world, BlockPos pos, BlockState state)
closeContainer(PlayerEntity player, World world, BlockPos pos, BlockState state)
private List<Player>
a(dja arg0, iu arg1)
getPlayersWithContainerOpen(Level arg0, BlockPos arg1)
method_56121(class_1937 arg0, class_2338 arg1)
m_pmfmehdn(C_cdctfzbn arg0, C_hynzadkk arg1)
getViewingPlayers(World world, BlockPos pos)
getInteractingPlayers(World world, BlockPos pos)
public void
c(dja arg0, iu arg1, eah arg2)
recheckOpeners(Level arg0, BlockPos arg1, BlockState arg2)
method_31686(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_hojlmzfk(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
updateViewerCount(World world, BlockPos pos, BlockState state)
updateViewerCount(World world, BlockPos pos, BlockState state)
public int
a()
getOpenerCount()
method_31678()
m_oxknhbtb()
getViewerCount()
getViewerCount()
private static void
d(dja arg0, iu arg1, eah arg2)
scheduleRecheck(Level arg0, BlockPos arg1, BlockState arg2)
method_31687(class_1937 arg0, class_2338 arg1, class_2680 arg2)
m_ingagrpa(C_cdctfzbn arg0, C_hynzadkk arg1, C_txtbiemp arg2)
scheduleBlockTick(World world, BlockPos pos, BlockState state)
scheduleBlockTick(World world, BlockPos pos, BlockState state)