类 EntityPositionSource
java.lang.Object
net.minecraft.world.level.gameevent.EntityPositionSource
- 所有已实现的接口:
PositionSource
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器构造器说明EntityPositionSource
(com.mojang.datafixers.util.Either<Entity, com.mojang.datafixers.util.Either<UUID, Integer>> pEntityOrUuidOrId, float pYOffset) EntityPositionSource
(Entity pEntity, float pYOffset) -
方法概要
修饰符和类型方法说明(专用程序包) int
getId()
getPosition
(Level pLevel) getType()
private UUID
getUuid()
private void
resolveEntity
(Level pLevel)
-
字段详细资料
-
CODEC
-
entityOrUuidOrId
-
yOffset
final float yOffset
-
-
构造器详细资料
-
EntityPositionSource
-
EntityPositionSource
-
-
方法详细资料
-
getPosition
- 指定者:
getPosition
在接口中PositionSource
-
resolveEntity
-
getUuid
-
getId
int getId() -
getType
- 指定者:
getType
在接口中PositionSource
-