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 afb
-
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()
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
Lafb;a:Lyx;
-
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
Lafb;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
Lafb;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
Lafb;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
Lafb;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>
Lafb;<init>(Lbsr;)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>
Lafb;<init>(ILexc;)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>
Lafb;<init>(Lvw;)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
Lafb;a(Lvw;)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
Lzg;a()Lzi;
-
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
Lafb;a(Labu;)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
Lafb;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
Lafb;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
Lafb;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
Lafb;g()D
-