net.minecraft.world.level.gameevent

public class EntityPositionSource

implements PositionSource

dwu
net.minecraft.world.level.gameevent.EntityPositionSource
net.minecraft.class_5709
net.minecraft.unmapped.C_jwdpbxxx
net.minecraft.world.event.EntityPositionSource
net.minecraft.world.event.EntityPositionSource
net.minecraft.src.C_141304_
net.minecraft.world.level.gameevent.DynamicGameEventListener

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<EntityPositionSource>
a
CODEC
field_28139
f_ghrcjuvk
CODEC
CODEC
f_157725_
public static final StreamCodec<io.netty.buffer.ByteBuf, EntityPositionSource>
b
STREAM_CODEC
field_48378
f_ignzavos
PACKET_CODEC
PACKET_CODEC
f_316100_
private com.mojang.datafixers.util.Either<Entity, com.mojang.datafixers.util.Either<UUID, Integer>>
e
entityOrUuidOrId
field_38424
f_uhlfletp
source
entityOrId
f_223645_
private final float
f
yOffset
field_38242
f_jepyhqzp
yOffset
yOffset
f_223646_

Constructor summary

ModifierConstructor
public (Entity entity, float yOffset)
private (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(dbz arg0)
getPosition(Level arg0)
method_32956(class_1937 arg0)
m_mqcaptme(C_cdctfzbn arg0)
getPos(World arg0)
getPos(World arg0)
m_142502_(C_1596_ arg0)
private void
b(dbz arg0)
resolveEntity(Level arg0)
method_42681(class_1937 arg0)
m_txsrfkqy(C_cdctfzbn arg0)
findEntityInWorld(World world)
resolveInWorld(World world)
m_223677_(C_1596_ arg0)
private UUID
b()
getUuid()
method_42680()
m_dpkookst()
getUuid()
getUUID()
m_223674_()
private int
c()
getId()
method_42683()
m_vmagiuai()
getEntityId()
getId()
m_223681_()
public PositionSourceType<EntityPositionSource>
a()
getType()
method_32955()
m_ehkweyyk()
getType()
getType()
m_142510_()