2020-12-09 07:21:32 -05:00
|
|
|
CLASS net/minecraft/class_5716 net/minecraft/world/event/PositionSource
|
2021-02-13 12:01:00 -05:00
|
|
|
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}
|
2022-11-16 07:51:52 -05:00
|
|
|
COMMENT is in the {@link net.minecraft.registry.Registries#POSITION_SOURCE_TYPE registry}.
|
2024-01-17 14:51:34 -05:00
|
|
|
FIELD field_48379 PACKET_CODEC Lnet/minecraft/class_9139;
|
2020-12-14 16:35:39 -05:00
|
|
|
METHOD method_32955 getType ()Lnet/minecraft/class_5717;
|
2021-02-13 12:01:00 -05:00
|
|
|
COMMENT Returns the type of this position source.
|
2020-12-09 07:21:32 -05:00
|
|
|
METHOD method_32956 getPos (Lnet/minecraft/class_1937;)Ljava/util/Optional;
|
|
|
|
ARG 1 world
|