net.minecraft.world.entity

public record PositionMoveRotation

bvv
net.minecraft.world.entity.PositionMoveRotation
net.minecraft.class_10182
net.minecraft.entity.player.PlayerPosition
net.minecraft.world.entity.PositionMoveRotation

Field summary

Modifier and TypeField
private final Vec3
b
position
comp_3148
position
private final Vec3
c
deltaMovement
comp_3149
deltaMovement
private final float
d
yRot
comp_3150
yaw
private final float
e
xRot
comp_3151
pitch
public static final StreamCodec<FriendlyByteBuf, PositionMoveRotation>
a
STREAM_CODEC
field_54565
PACKET_CODEC

Constructor summary

ModifierConstructor
public (Vec3 arg0, Vec3 arg1, float arg2, float arg3)

Method summary

Modifier and TypeMethod
public static PositionMoveRotation
a(bum arg0)
of(Entity arg0)
method_63638(class_1297 arg0)
fromEntity(Entity entity)
public static PositionMoveRotation
b(bum arg0)
ofEntityUsingLerpTarget(Entity arg0)
method_64621(class_1297 arg0)
fromEntityLerpTarget(Entity entity)
public static PositionMoveRotation
a(eua arg0)
of(TeleportTransition arg0)
method_63640(class_5454 arg0)
fromTeleportTarget(TeleportTarget teleportTarget)
public static PositionMoveRotation
a(bvv arg0, bvv arg1, Set<bvw> arg2)
calculateAbsolute(PositionMoveRotation arg0, PositionMoveRotation arg1, Set<Relative> arg2)
method_63639(class_10182 arg0, class_10182 arg1, Set<class_2709> arg2)
apply(PlayerPosition currentPos, PlayerPosition newPos, Set<PositionFlag> flags)
private static double
a(double arg0, double arg1, Set<bvw> arg2, bvw arg3)
calculateDelta(double arg0, double arg1, Set<Relative> arg2, Relative arg3)
method_63636(double arg0, double arg1, Set<class_2709> arg2, class_2709 arg3)
resolve(double delta, double value, Set<PositionFlag> flags, PositionFlag deltaFlag)
public Vec3
a()
position()
comp_3148()
position()
public Vec3
b()
deltaMovement()
comp_3149()
deltaMovement()
public float
c()
yRot()
comp_3150()
yaw()
public float
d()
xRot()
comp_3151()
pitch()