net.minecraft.world.level.gameevent

public class EntityPositionSource

implements PositionSource

dnp
net.minecraft.world.level.gameevent.EntityPositionSource
net.minecraft.class_5709
net.minecraft.world.event.EntityPositionSource
net.minecraft.src.C_141304_
net.minecraft.world.level.gameevent.EntityPositionSource

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<EntityPositionSource>
a
CODEC
field_28139
CODEC
f_157725_
private com.mojang.datafixers.util.Either<Entity, com.mojang.datafixers.util.Either<UUID, Integer>>
c
entityOrUuidOrId
field_38424
source
f_223645_
final float
d
yOffset
field_38242
yOffset
f_223646_

Constructor summary

ModifierConstructor
public (Entity entity, float yOffset)
(com.mojang.datafixers.util.Either<Entity, com.mojang.datafixers.util.Either<UUID, Integer>> source, float yOffset)

Method summary

Modifier and TypeMethod
public Optional<Vec3>
a(ctp arg0)
getPosition(Level arg0)
method_32956(class_1937 arg0)
getPos(World arg0)
m_142502_(C_1596_ arg0)
private void
b(ctp arg0)
resolveEntity(Level arg0)
method_42681(class_1937 arg0)
findEntityInWorld(World world)
m_223677_(C_1596_ arg0)
private UUID
b()
getUuid()
method_42680()
getUuid()
m_223674_()
int
c()
getId()
method_42683()
getEntityId()
m_223681_()
public PositionSourceType<?>
a()
getType()
method_32955()
getType()
m_142510_()