2021-02-13 12:01:00 -05:00
|
|
|
CLASS net/minecraft/class_5713 net/minecraft/world/event/listener/GameEventDispatcher
|
|
|
|
COMMENT A game event dispatcher dispatches game events to its listeners.
|
|
|
|
FIELD field_28181 EMPTY Lnet/minecraft/class_5713;
|
|
|
|
COMMENT An unmodifiable, empty (non-operative) dispatcher.
|
|
|
|
METHOD method_32942 isEmpty ()Z
|
|
|
|
COMMENT Returns whether this dispatcher has no listeners.
|
2022-05-04 14:34:27 -04:00
|
|
|
METHOD method_32943 dispatch (Lnet/minecraft/class_5712;Lnet/minecraft/class_243;Lnet/minecraft/class_5712$class_7397;Ljava/util/function/BiConsumer;)Z
|
2021-02-13 12:01:00 -05:00
|
|
|
COMMENT Dispatches an event to all the listeners in this dispatcher.
|
|
|
|
ARG 1 event
|
|
|
|
COMMENT the event
|
2022-04-19 06:06:11 -04:00
|
|
|
ARG 2 pos
|
|
|
|
ARG 3 emitter
|
2022-05-06 09:45:42 -04:00
|
|
|
ARG 4 onListenerAccept
|
2021-02-13 12:01:00 -05:00
|
|
|
METHOD method_32944 addListener (Lnet/minecraft/class_5714;)V
|
|
|
|
COMMENT Adds a listener to this dispatcher.
|
|
|
|
ARG 1 listener
|
|
|
|
COMMENT the listener to add
|
|
|
|
METHOD method_32945 removeListener (Lnet/minecraft/class_5714;)V
|
|
|
|
COMMENT Removes a listener from this dispatcher if it is present.
|
|
|
|
ARG 1 listener
|
|
|
|
COMMENT the listener to remove
|