net.minecraft.world.level.gameevent

public class EntityPositionSource

implements PositionSource

cot
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_
final int
c
sourceEntityId
field_28140
entityId
f_157726_
private Optional<Entity>
d
sourceEntity
field_28141
entity
f_157727_

Constructor summary

ModifierConstructor
public (int entityId)

Method summary

Modifier and TypeMethod
public Optional<BlockPos>
a(bwp arg0)
getPosition(Level arg0)
method_32956(class_1937 arg0)
getPos(World arg0)
m_142502_(C_1596_ arg0)
public PositionSourceType<?>
a()
getType()
method_32955()
getType()
m_142510_()