net.minecraft.world.level.gameevent

public class EuclideanGameEventListenerRegistry

implements GameEventListenerRegistry

dfz
net.minecraft.world.level.gameevent.EuclideanGameEventListenerRegistry
net.minecraft.class_5711
net.minecraft.world.event.listener.SimpleGameEventDispatcher
net.minecraft.src.C_243423_
net.minecraft.world.level.gameevent.EuclideanGameEventListenerRegistry

Field summary

Modifier and TypeField
private final List<GameEventListener>
b
listeners
field_28142
listeners
f_244422_
private final Set<GameEventListener>
c
listenersToRemove
field_37673
toRemove
f_244308_
private final List<GameEventListener>
d
listenersToAdd
field_37674
toAdd
f_244008_
private boolean
e
processing
field_37675
dispatching
f_244249_
private final ServerLevel
f
level
field_28143
world
f_244607_

Constructor summary

ModifierConstructor
public (ServerLevel world)

Method summary

Modifier and TypeMethod
public boolean
a()
isEmpty()
method_32942()
isEmpty()
m_245428_()
public void
a(dgc arg0)
register(GameEventListener arg0)
method_32944(class_5714 arg0)
addListener(GameEventListener arg0)
m_245531_(C_141310_ arg0)
public void
b(dgc arg0)
unregister(GameEventListener arg0)
method_32945(class_5714 arg0)
removeListener(GameEventListener arg0)
m_246052_(C_141310_ arg0)
public boolean
a(dga arg0, ede arg1, dga$a arg2, dgd$a arg3)
visitInRangeListeners(GameEvent arg0, Vec3 arg1, GameEvent$Context arg2, GameEventListenerRegistry$ListenerVisitor arg3)
method_32943(class_5712 arg0, class_243 arg1, class_5712$class_7397 arg2, class_5713$class_7721 arg3)
dispatch(GameEvent arg0, Vec3d arg1, GameEvent$Emitter arg2, GameEventDispatcher$DispatchCallback arg3)
m_245521_(C_141307_ p_251445_, C_3046_ p_252317_, C_141307_$C_213130_ p_251422_, C_243462_$C_243611_ arg3)
private static Optional<Vec3>
a(aip arg0, ede arg1, dgc arg2)
getPostableListenerPosition(ServerLevel arg0, Vec3 arg1, GameEventListener arg2)
method_32936(class_3218 arg0, class_243 arg1, class_5714 arg2)
dispatchTo(ServerWorld world, Vec3d listenerPos, GameEventListener listener)
m_247048_(C_12_ p_249585_, C_3046_ p_251333_, C_141310_ p_251051_)