net.minecraft.world.entity

public record PositionMoveRotation

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

Field summary

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

Constructor summary

ModifierConstructor
public (Vec3 deltaMovement, Vec3 yRot, float xRot, float arg3)

Method summary

Modifier and TypeMethod
public static PositionMoveRotation
a(bum arg0)
of(Entity arg0)
method_63638(class_1297 arg0)
fromEntity(Entity entity)
m_354094_(C_507_ p_361379_)
public static PositionMoveRotation
b(bum arg0)
ofEntityUsingLerpTarget(Entity arg0)
method_64621(class_1297 arg0)
fromEntityLerpTarget(Entity entity)
m_357118_(C_507_ p_366606_)
public static PositionMoveRotation
a(eua arg0)
of(TeleportTransition arg0)
method_63640(class_5454 arg0)
fromTeleportTarget(TeleportTarget teleportTarget)
m_355223_(C_345918_ p_368179_)
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)
m_354139_(C_345854_ p_364389_, C_345854_ p_363716_, Set<C_346168_> p_370218_)
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)
m_353418_(double p_366007_, double p_365151_, Set<C_346168_> arg2, C_346168_ arg3)
public Vec3
a()
position()
comp_3148()
position()
f_348674_()
public Vec3
b()
deltaMovement()
comp_3149()
deltaMovement()
f_349143_()
public float
c()
yRot()
comp_3150()
yaw()
f_347286_()
public float
d()
xRot()
comp_3151()
pitch()
f_348044_()