mirror of https://github.com/FabricMC/yarn.git
22 lines
1020 B
Plaintext
22 lines
1020 B
Plaintext
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.
|
|
METHOD method_32943 dispatch (Lnet/minecraft/class_5712;Lnet/minecraft/class_243;Lnet/minecraft/class_5712$class_7397;Ljava/util/function/BiConsumer;)Z
|
|
COMMENT Dispatches an event to all the listeners in this dispatcher.
|
|
ARG 1 event
|
|
COMMENT the event
|
|
ARG 2 pos
|
|
ARG 3 emitter
|
|
ARG 4 onListenerAccept
|
|
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
|