net.minecraft.world.level.gameevent

public class EuclideanGameEventDispatcher

implements GameEventDispatcher

czu
net.minecraft.world.level.gameevent.EuclideanGameEventDispatcher
net.minecraft.class_5711
net.minecraft.world.event.listener.SimpleGameEventDispatcher
net.minecraft.src.C_141306_
net.minecraft.world.level.gameevent.EuclideanGameEventDispatcher

Field summary

Modifier and TypeField
private final List<GameEventListener>
b
listeners
field_28142
listeners
f_157750_
private final Set<GameEventListener>
c
listenersToRemove
field_37673
toRemove
f_223682_
private final List<GameEventListener>
d
listenersToAdd
field_37674
toAdd
f_223683_
private boolean
e
processing
field_37675
dispatching
f_223684_
private final ServerLevel
f
level
field_28143
world
f_157751_

Constructor summary

ModifierConstructor
public (ServerLevel world)

Method summary

Modifier and TypeMethod
public boolean
a()
isEmpty()
method_32942()
isEmpty()
m_142086_()
public void
a(czx arg0)
register(GameEventListener arg0)
method_32944(class_5714 arg0)
addListener(GameEventListener arg0)
m_142501_(C_141310_ arg0)
public void
b(czx arg0)
unregister(GameEventListener arg0)
method_32945(class_5714 arg0)
removeListener(GameEventListener arg0)
m_142500_(C_141310_ arg0)
public boolean
a(czv arg0, dwq arg1, czv$a arg2, BiConsumer<czx, dwq> arg3)
walkListeners(GameEvent arg0, Vec3 arg1, GameEvent$Context arg2, BiConsumer<GameEventListener, Vec3> arg3)
method_32943(class_5712 arg0, class_243 arg1, class_5712$class_7397 arg2, BiConsumer<class_5714, class_243> arg3)
dispatch(GameEvent arg0, Vec3d arg1, GameEvent$Emitter arg2, BiConsumer<GameEventListener, Vec3d> arg3)
m_213682_(C_141307_ p_223693_, C_3046_ p_223694_, C_213130_ p_223695_, BiConsumer<C_141310_, C_3046_> arg3)
private static Optional<Vec3>
a(agg arg0, dwq arg1, czx 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_223687_(C_12_ p_223688_, C_3046_ p_223689_, C_141310_ p_223690_)