net.minecraft.world.level.block.entity

public abstract class ContainerOpenersCounter

dqu
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
net.minecraft.src.C_141248_
net.minecraft.world.level.block.entity.ContainerOpenersCounter

Field summary

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

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected abstract void
a(dcw arg0, jd arg1, dtc 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)
m_142292_(C_1596_ p_155461_, C_4675_ p_155462_, C_2064_ arg2)
protected abstract void
b(dcw arg0, jd arg1, dtc 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)
m_142289_(C_1596_ p_155474_, C_4675_ p_155475_, C_2064_ arg2)
protected abstract void
a(dcw arg0, jd arg1, dtc 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 oldViewerCount, int newViewerCount)
m_142148_(C_1596_ p_155464_, C_4675_ p_155465_, C_2064_ p_155466_, int p_155467_, int arg4)
protected abstract boolean
a(cmx arg0)
isOwnContainer(Player arg0)
method_31679(class_1657 arg0)
m_xndcmkdl(C_jzrpycqo arg0)
isPlayerViewing(PlayerEntity player)
isPlayerViewing(PlayerEntity player)
m_142718_(C_1141_ arg0)
public void
a(cmx arg0, dcw arg1, jd arg2, dtc 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)
m_155452_(C_1141_ p_155454_, C_1596_ p_155455_, C_4675_ p_155456_, C_2064_ arg3)
public void
b(cmx arg0, dcw arg1, jd arg2, dtc 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)
m_155468_(C_1141_ p_155470_, C_1596_ p_155471_, C_4675_ p_155472_, C_2064_ arg3)
private List<Player>
a(dcw arg0, jd 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)
m_pmfmehdn(World world, BlockPos pos)
m_319165_(C_1596_ p_334135_, C_4675_ arg1)
public void
c(dcw arg0, jd arg1, dtc 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)
m_155476_(C_1596_ p_155478_, C_4675_ p_155479_, C_2064_ arg2)
public int
a()
getOpenerCount()
method_31678()
m_oxknhbtb()
getViewerCount()
getViewerCount()
m_155450_()
private static void
d(dcw arg0, jd arg1, dtc 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)
m_155480_(C_1596_ p_155481_, C_4675_ p_155482_, C_2064_ p_155483_)