mirror of https://github.com/FabricMC/yarn.git
12 lines
681 B
Plaintext
12 lines
681 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}.
|
|
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
|