Class ClientboundSetEntityMotionPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetEntityMotionPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundSetEntityMotionPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intstatic final StreamCodec<FriendlyByteBuf, ClientboundSetEntityMotionPacket> private final intprivate final intprivate final int -
Constructor Summary
ConstructorsModifierConstructorDescriptionClientboundSetEntityMotionPacket(int p_133182_, Vec3 p_133183_) privateClientboundSetEntityMotionPacket(FriendlyByteBuf p_179294_) ClientboundSetEntityMotionPacket(Entity p_133185_) -
Method Summary
Modifier and TypeMethodDescriptionintgetId()doublegetXa()doublegetYa()doublegetZa()voidhandle(ClientGamePacketListener p_133191_) type()private voidwrite(FriendlyByteBuf p_133194_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
id
private final int id -
xa
private final int xa -
ya
private final int ya -
za
private final int za
-
-
Constructor Details
-
ClientboundSetEntityMotionPacket
-
ClientboundSetEntityMotionPacket
-
ClientboundSetEntityMotionPacket
-
-
Method Details
-
write
-
type
- Specified by:
typein interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getId
public int getId() -
getXa
public double getXa() -
getYa
public double getYa() -
getZa
public double getZa()
-