mirror of https://github.com/FabricMC/yarn.git
26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
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_6880;Lnet/minecraft/class_243;Lnet/minecraft/class_5712$class_7397;Lnet/minecraft/class_5713$class_7721;)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 callback
|
|
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
|
|
CLASS class_7721 DispatchCallback
|
|
METHOD visit (Lnet/minecraft/class_5714;Lnet/minecraft/class_243;)V
|
|
ARG 1 listener
|
|
ARG 2 listenerPos
|