yarn/mappings/net/minecraft/world/event/PositionSource.mapping

13 lines
740 B
Plaintext

CLASS net/minecraft/class_5716 net/minecraft/world/event/PositionSource
COMMENT A position source is a property of a game event listener.
COMMENT
COMMENT @see net.minecraft.world.event.listener.GameEventListener#getPositionSource()
FIELD field_28184 CODEC Lcom/mojang/serialization/Codec;
COMMENT A codec for encoding and decoding any position source whose {@link #getType() type}
COMMENT is in the {@link net.minecraft.registry.Registries#POSITION_SOURCE_TYPE registry}.
FIELD field_48379 PACKET_CODEC Lnet/minecraft/class_9139;
METHOD method_32955 getType ()Lnet/minecraft/class_5717;
COMMENT Returns the type of this position source.
METHOD method_32956 getPos (Lnet/minecraft/class_1937;)Ljava/util/Optional;
ARG 1 world