Package net.minecraft.world.event
Interface PositionSource
- All Known Implementing Classes:
BlockPositionSource
,EntityPositionSource
public interface PositionSource
- Mappings:
Namespace Name official clx
intermediary net/minecraft/class_5716
named net/minecraft/world/event/PositionSource
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<PositionSource>
TYPE_CODEC
-
Method Summary
-
Field Details
-
TYPE_CODEC
- Mappings:
Namespace Name Mixin selector official b
Lclx;b:Lcom/mojang/serialization/Codec;
intermediary field_28184
Lnet/minecraft/class_5716;field_28184:Lcom/mojang/serialization/Codec;
named TYPE_CODEC
Lnet/minecraft/world/event/PositionSource;TYPE_CODEC:Lcom/mojang/serialization/Codec;
-
-
Method Details
-
getPos
- Mappings:
Namespace Name Mixin selector official a
Lclx;a(Lbtv;)Ljava/util/Optional;
intermediary method_32956
Lnet/minecraft/class_5716;method_32956(Lnet/minecraft/class_1937;)Ljava/util/Optional;
named getPos
Lnet/minecraft/world/event/PositionSource;getPos(Lnet/minecraft/world/World;)Ljava/util/Optional;
-
getType
PositionSourceType<?> getType()- Mappings:
Namespace Name Mixin selector official a
Lclx;a()Lcly;
intermediary method_32955
Lnet/minecraft/class_5716;method_32955()Lnet/minecraft/class_5717;
named getType
Lnet/minecraft/world/event/PositionSource;getType()Lnet/minecraft/world/event/PositionSourceType;
-