yarn/mappings/net/minecraft/world/event/listener/GameEventListener.mapping

12 lines
636 B
Plaintext

CLASS net/minecraft/class_5714 net/minecraft/world/event/listener/GameEventListener
COMMENT A game event listener listens to game events from {@link GameEventDispatcher}s.
METHOD method_32946 getPositionSource ()Lnet/minecraft/class_5716;
COMMENT Returns the position source of this listener.
METHOD method_32947 listen (Lnet/minecraft/class_3218;Lnet/minecraft/class_5712$class_7447;)Z
COMMENT Listens to an incoming game event.
COMMENT
COMMENT @return {@code true} if the game event has been accepted by this listener
ARG 1 world
METHOD method_32948 getRange ()I
COMMENT Returns the range, in blocks, of the listener.