Class EntityPositionSource
java.lang.Object
net.minecraft.world.level.gameevent.EntityPositionSource
- All Implemented Interfaces:
PositionSource
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<EntityPositionSource>
(package private) int
-
Constructor Summary
-
Method Summary
-
Field Details
-
CODEC
-
sourceEntityId
final int sourceEntityId -
sourceEntity
-
-
Constructor Details
-
EntityPositionSource
public EntityPositionSource(int p_157730_)
-
-
Method Details
-
getPosition
- Specified by:
getPosition
in interfacePositionSource
-
getType
- Specified by:
getType
in interfacePositionSource
-