implements PositionSource
ecp | |
net.minecraft.world.level.gameevent.EntityPositionSource | |
net.minecraft.class_5709 | |
net.minecraft.world.event.EntityPositionSource | |
net.minecraft.world.level.gameevent.EntityPositionSource |
Field summary
Modifier and Type | Field | ||||||||
---|---|---|---|---|---|---|---|---|---|
public static final com.mojang.serialization.MapCodec<EntityPositionSource> |
| ||||||||
public static final StreamCodec<io.netty.buffer.ByteBuf, EntityPositionSource> |
| ||||||||
private com.mojang.datafixers.util.Either<Entity, com.mojang.datafixers.util.Either<UUID, Integer>> |
| ||||||||
private final float |
|
Constructor summary
Modifier | Constructor |
---|---|
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 Type | Method | ||||||||
---|---|---|---|---|---|---|---|---|---|
public Optional<Vec3> |
| ||||||||
private void |
| ||||||||
private UUID |
| ||||||||
private int |
| ||||||||
public PositionSourceType<EntityPositionSource> |
|