net.minecraft.world.level.gameevent

public class EuclideanGameEventListenerRegistry

implements GameEventListenerRegistry

ecq
net.minecraft.world.level.gameevent.EuclideanGameEventListenerRegistry
net.minecraft.class_5711
net.minecraft.world.event.listener.SimpleGameEventDispatcher
net.minecraft.world.level.gameevent.EuclideanGameEventListenerRegistry

Field summary

Modifier and TypeField
private final List<GameEventListener>
b
listeners
field_28142
listeners
private final Set<GameEventListener>
c
listenersToRemove
field_37673
toRemove
private final List<GameEventListener>
d
listenersToAdd
field_37674
toAdd
private boolean
e
processing
field_37675
dispatching
private final ServerLevel
f
level
field_28143
world
private final int
g
sectionY
field_44636
ySectionCoord
private final EuclideanGameEventListenerRegistry$OnEmptyAction
h
onEmptyAction
field_44637
disposalCallback

Constructor summary

ModifierConstructor
public (ServerLevel world, int ySectionCoord, EuclideanGameEventListenerRegistry$OnEmptyAction disposalCallback)

Method summary

Modifier and TypeMethod
public boolean
a()
isEmpty()
method_32942()
isEmpty()
public void
a(ect arg0)
register(GameEventListener arg0)
method_32944(class_5714 arg0)
addListener(GameEventListener arg0)
public void
b(ect arg0)
unregister(GameEventListener arg0)
method_32945(class_5714 arg0)
removeListener(GameEventListener arg0)
public boolean
a(jq<ecr> arg0, fby arg1, ecr$a arg2, ecu$a arg3)
visitInRangeListeners(Holder<GameEvent> arg0, Vec3 arg1, GameEvent$Context arg2, GameEventListenerRegistry$ListenerVisitor arg3)
method_32943(class_6880<class_5712> arg0, class_243 arg1, class_5712$class_7397 arg2, class_5713$class_7721 arg3)
dispatch(RegistryEntry<GameEvent> arg0, Vec3d arg1, GameEvent$Emitter arg2, GameEventDispatcher$DispatchCallback arg3)
private static Optional<Vec3>
a(ash arg0, fby arg1, ect 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)