net.minecraft.world.level.gameevent

public class EntityPositionSource

implements PositionSource

cse
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

字段概要

修饰符与类型字段
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_

构造函数概要

修饰符构造函数
public (int entityId)

方法概要

修饰符与类型方法
public Optional<BlockPos>
a(cad 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_()