Class EntityPositionSource

java.lang.Object
net.minecraft.world.level.gameevent.EntityPositionSource
All Implemented Interfaces:
PositionSource

public class EntityPositionSource extends Object implements PositionSource
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<EntityPositionSource> CODEC
    • entityOrUuidOrId

      private com.mojang.datafixers.util.Either<Entity,com.mojang.datafixers.util.Either<UUID,Integer>> entityOrUuidOrId
    • yOffset

      final float yOffset
  • Constructor Details

    • EntityPositionSource

      public EntityPositionSource(Entity p_223648_, float p_223649_)
    • EntityPositionSource

      EntityPositionSource(com.mojang.datafixers.util.Either<Entity,com.mojang.datafixers.util.Either<UUID,Integer>> p_223651_, float p_223652_)
  • Method Details