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 afp
-
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 id, Vec3d velocity) EntityVelocityUpdateS2CPacket
(Entity entity) private
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientPlayPacketListener clientPlayPacketListener) int
getId()
int
int
int
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
Lafp;a:Lzn;
-
id
private final int id- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;id:I
intermediary field_12564
Lnet/minecraft/class_2743;field_12564:I
official b
Lafp;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
Lafp;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
Lafp;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
Lafp;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>
Lafp;<init>(Lbsw;)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>
Lafp;<init>(ILevt;)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>
Lafp;<init>(Lwm;)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
Lafp;a(Lwm;)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
Lzw;a()Lzy;
-
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
Lafp;a(Laci;)V
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector named getId
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;getId()I
intermediary method_11818
Lnet/minecraft/class_2743;method_11818()I
official b
Lafp;b()I
-
getVelocityX
public int getVelocityX()- Mappings:
Namespace Name Mixin selector named getVelocityX
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;getVelocityX()I
intermediary method_11815
Lnet/minecraft/class_2743;method_11815()I
official e
Lafp;e()I
-
getVelocityY
public int getVelocityY()- Mappings:
Namespace Name Mixin selector named getVelocityY
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;getVelocityY()I
intermediary method_11816
Lnet/minecraft/class_2743;method_11816()I
official f
Lafp;f()I
-
getVelocityZ
public int getVelocityZ()- Mappings:
Namespace Name Mixin selector named getVelocityZ
Lnet/minecraft/network/packet/s2c/play/EntityVelocityUpdateS2CPacket;getVelocityZ()I
intermediary method_11819
Lnet/minecraft/class_2743;method_11819()I
official g
Lafp;g()I
-