Class EntityVelocityUpdateS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.play.EntityVelocityUpdateS2CPacket
- All Implemented Interfaces:
Packet<ClientPlayPacketListener>
public class EntityVelocityUpdateS2CPacket
extends Object
implements Packet<ClientPlayPacketListener>
Sent when a server modifies an entity's velocity.
If the entity is a player, ExplosionS2CPacket
can be used as
a replacement.
- Mappings:
Namespace Name named net/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket
intermediary net/minecraft/class_2743
official agd
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, EntityVelocityUpdateS2CPacket> private final int
private final int
private final int
private final int
-
Constructor Summary
ModifierConstructorDescriptionEntityVelocityUpdateS2CPacket
(int entityId, Vec3d velocity) EntityVelocityUpdateS2CPacket
(Entity entity) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) int
double
double
double
private void
write
(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_47981
Lnet/minecraft/class_2743;field_47981:Lnet/minecraft/class_9139;
official a
Lagd;a:Lzt;
-
entityId
private final int entityId- Mappings:
Namespace Name Mixin selector named entityId
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;entityId:I
intermediary field_12564
Lnet/minecraft/class_2743;field_12564:I
official b
Lagd;b:I
-
velocityX
private final int velocityX- Mappings:
Namespace Name Mixin selector named velocityX
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;velocityX:I
intermediary field_12563
Lnet/minecraft/class_2743;field_12563:I
official c
Lagd;c:I
-
velocityY
private final int velocityY- Mappings:
Namespace Name Mixin selector named velocityY
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;velocityY:I
intermediary field_12562
Lnet/minecraft/class_2743;field_12562:I
official d
Lagd;d:I
-
velocityZ
private final int velocityZ- Mappings:
Namespace Name Mixin selector named velocityZ
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;velocityZ:I
intermediary field_12561
Lnet/minecraft/class_2743;field_12561:I
official e
Lagd;e:I
-
-
Constructor Details
-
EntityVelocityUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;<init>(Lnet/minecraft/entity/Entity;)V
intermediary <init>
Lnet/minecraft/class_2743;<init>(Lnet/minecraft/class_1297;)V
official <init>
Lagd;<init>(Lbvj;)V
-
EntityVelocityUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;<init>(ILnet/minecraft/util/math/Vec3d;)V
intermediary <init>
Lnet/minecraft/class_2743;<init>(ILnet/minecraft/class_243;)V
official <init>
Lagd;<init>(ILfbx;)V
-
EntityVelocityUpdateS2CPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2743;<init>(Lnet/minecraft/class_2540;)V
official <init>
Lagd;<init>(Lws;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_55928
Lnet/minecraft/class_2743;method_55928(Lnet/minecraft/class_2540;)V
official a
Lagd;a(Lws;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Laac;a()Laae;
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
intermediary method_11817
Lnet/minecraft/class_2743;method_11817(Lnet/minecraft/class_2602;)V
official a
Lagd;a(Lacr;)V
-
getEntityId
public int getEntityId()- Mappings:
Namespace Name Mixin selector named getEntityId
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;getEntityId()I
intermediary method_11818
Lnet/minecraft/class_2743;method_11818()I
official b
Lagd;b()I
-
getVelocityX
public double getVelocityX()- Mappings:
Namespace Name Mixin selector named getVelocityX
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;getVelocityX()D
intermediary method_11815
Lnet/minecraft/class_2743;method_11815()D
official e
Lagd;e()D
-
getVelocityY
public double getVelocityY()- Mappings:
Namespace Name Mixin selector named getVelocityY
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;getVelocityY()D
intermediary method_11816
Lnet/minecraft/class_2743;method_11816()D
official f
Lagd;f()D
-
getVelocityZ
public double getVelocityZ()- Mappings:
Namespace Name Mixin selector named getVelocityZ
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;getVelocityZ()D
intermediary method_11819
Lnet/minecraft/class_2743;method_11819()D
official g
Lagd;g()D
-