net.minecraft.network.packet.s2c.play

public record EntityPositionSyncS2CPacket

implements AbstractEntityPositionS2CPacket<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundEntityPositionSyncPacket
net.minecraft.network.protocol.game.ClientboundEntityPositionSyncPacket
net.minecraft.class_10264
net.minecraft.network.packet.s2c.play.EntityPositionSyncS2CPacket

Field summary

Modifier and TypeField
private final int
id
id
comp_3223
id
private final MotionPath
position
position
comp_1_1325
motion
private final float
yRot
yRot
comp_1_1327
yRot
private final float
xRot
xRot
comp_1_1326
xRot
private final boolean
onGround
onGround
comp_3225
onGround
public static final PacketCodec<PacketByteBuf, EntityPositionSyncS2CPacket>
STREAM_CODEC
STREAM_CODEC
field_54515
CODEC

Constructor summary

ModifierConstructor
public (int id, MotionPath motion, float yRot, float xRot, boolean onGround)

Method summary

Modifier and TypeMethod
public static EntityPositionSyncS2CPacket
of(Entity entity, PositionPath position)
of(Entity entity, PositionPath position)
method_1_8194(class_1297 arg0, class_1_1198 arg1)
create(Entity entity, MotionPath motion)
public static EntityPositionSyncS2CPacket
of(Entity entity)
of(Entity entity)
method_64558(class_1297 arg0)
create(Entity entity)
public PacketType<EntityPositionSyncS2CPacket>
type()
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
handle(ClientGamePacketListener listener)
method_64557(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public boolean
hasPosition()
hasPosition()
method_22826()
isPositionChanged()
public boolean
hasRotation()
hasRotation()
method_11652()
hasRotation()
public int
id()
id()
comp_3223()
id()
public MotionPath
position()
position()
comp_1_1325()
motion()
public float
yRot()
yRot()
comp_1_1327()
yRot()
public float
xRot()
xRot()
comp_1_1326()
xRot()
public boolean
onGround()
onGround()
comp_3225()
onGround()