Package net.minecraft.world.event
Class EntityPositionSource
java.lang.Object
net.minecraft.world.event.EntityPositionSource
- All Implemented Interfaces:
PositionSource
- Mappings:
Namespace Name official dgj
intermediary net/minecraft/class_5709
named net/minecraft/world/event/EntityPositionSource
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEntityPositionSource
(com.mojang.datafixers.util.Either<Entity, com.mojang.datafixers.util.Either<UUID, Integer>> source, float yOffset) EntityPositionSource
(Entity entity, float yOffset) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
findEntityInWorld
(World world) (package private) int
getType()
Returns the type of this position source.private UUID
getUuid()
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldgj;a:Lcom/mojang/serialization/Codec;
intermediary field_28139
Lnet/minecraft/class_5709;field_28139:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/event/EntityPositionSource;CODEC:Lcom/mojang/serialization/Codec;
-
source
private com.mojang.datafixers.util.Either<Entity,com.mojang.datafixers.util.Either<UUID, sourceInteger>> - Mappings:
Namespace Name Mixin selector official c
Ldgj;c:Lcom/mojang/datafixers/util/Either;
intermediary field_38424
Lnet/minecraft/class_5709;field_38424:Lcom/mojang/datafixers/util/Either;
named source
Lnet/minecraft/world/event/EntityPositionSource;source:Lcom/mojang/datafixers/util/Either;
-
yOffset
final float yOffset- Mappings:
Namespace Name Mixin selector official d
Ldgj;d:F
intermediary field_38242
Lnet/minecraft/class_5709;field_38242:F
named yOffset
Lnet/minecraft/world/event/EntityPositionSource;yOffset:F
-
-
Constructor Details
-
EntityPositionSource
- Mappings:
Namespace Name Mixin selector official <init>
Ldgj;<init>(Lbfj;F)V
intermediary <init>
Lnet/minecraft/class_5709;<init>(Lnet/minecraft/class_1297;F)V
named <init>
Lnet/minecraft/world/event/EntityPositionSource;<init>(Lnet/minecraft/entity/Entity;F)V
-
EntityPositionSource
EntityPositionSource(com.mojang.datafixers.util.Either<Entity, com.mojang.datafixers.util.Either<UUID, Integer>> source, float yOffset) - Mappings:
Namespace Name Mixin selector official <init>
Ldgj;<init>(Lcom/mojang/datafixers/util/Either;F)V
intermediary <init>
Lnet/minecraft/class_5709;<init>(Lcom/mojang/datafixers/util/Either;F)V
named <init>
Lnet/minecraft/world/event/EntityPositionSource;<init>(Lcom/mojang/datafixers/util/Either;F)V
-
-
Method Details
-
getPos
- Specified by:
getPos
in interfacePositionSource
- Mappings:
Namespace Name Mixin selector official a
Ldgp;a(Lcmm;)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;
-
findEntityInWorld
- Mappings:
Namespace Name Mixin selector official b
Ldgj;b(Lcmm;)V
intermediary method_42681
Lnet/minecraft/class_5709;method_42681(Lnet/minecraft/class_1937;)V
named findEntityInWorld
Lnet/minecraft/world/event/EntityPositionSource;findEntityInWorld(Lnet/minecraft/world/World;)V
-
getUuid
- Mappings:
Namespace Name Mixin selector official b
Ldgj;b()Ljava/util/UUID;
intermediary method_42680
Lnet/minecraft/class_5709;method_42680()Ljava/util/UUID;
named getUuid
Lnet/minecraft/world/event/EntityPositionSource;getUuid()Ljava/util/UUID;
-
getEntityId
int getEntityId()- Mappings:
Namespace Name Mixin selector official c
Ldgj;c()I
intermediary method_42683
Lnet/minecraft/class_5709;method_42683()I
named getEntityId
Lnet/minecraft/world/event/EntityPositionSource;getEntityId()I
-
getType
Returns the type of this position source.- Specified by:
getType
in interfacePositionSource
- Mappings:
Namespace Name Mixin selector official a
Ldgp;a()Ldgq;
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;
-