net.minecraft.network.protocol.game

public class ClientboundSetEntityMotionPacket

implements Packet<ClientGamePacketListener>

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

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundSetEntityMotionPacket>
a
STREAM_CODEC
field_47981
CODEC
private final int
b
id
field_12564
entityId
private final int
c
xa
field_12563
velocityX
private final int
d
ya
field_12562
velocityY
private final int
e
za
field_12561
velocityZ

Constructor summary

ModifierConstructor
public (Entity entity)
public (int entityId, Vec3 velocity)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_55928(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundSetEntityMotionPacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_11817(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
b()
getId()
method_11818()
getEntityId()
public double
e()
getXa()
method_11815()
getVelocityX()
public double
f()
getYa()
method_11816()
getVelocityY()
public double
g()
getZa()
method_11819()
getVelocityZ()