net.minecraft.network.packet.s2c.play

public class EntityVelocityUpdateS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundSetEntityMotionPacket
net.minecraft.class_2743
net.minecraft.network.packet.s2c.play.EntityVelocityUpdateS2CPacket

Field summary

Modifier and TypeField
public static final PacketCodec<PacketByteBuf, EntityVelocityUpdateS2CPacket>
STREAM_CODEC
field_47981
CODEC
private final int
id
field_12564
entityId
private final Vec3d
movement
field_61887
velocity

Constructor summary

ModifierConstructor
public (Entity entity)
public (int entityId, Vec3d velocity)
private (PacketByteBuf buf)

Method summary

Modifier and TypeMethod
private void
write(FriendlyByteBuf output)
method_55928(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<EntityVelocityUpdateS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_11817(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
getId()
method_11818()
getEntityId()
public Vec3d
getMovement()
method_73085()
getVelocity()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)