Class WrapperPlayClientSteerVehicle

java.lang.Object
com.github.retrooper.packetevents.wrapper.PacketWrapper<WrapperPlayClientSteerVehicle>
com.github.retrooper.packetevents.wrapper.play.client.WrapperPlayClientSteerVehicle

@Obsolete public class WrapperPlayClientSteerVehicle extends PacketWrapper<WrapperPlayClientSteerVehicle>
Not to be confused with WrapperPlayClientSteerBoat

This packet is for sending player inputs to the server

On 1.8 and older, vehicle control is server sided. This packet includes inputs for movement. On 1.9 to 1.21.2, plugins may use this packet to create vehicles out of ordinary entities.

Starting with 1.21.2, the server sends all movement inputs using the WrapperPlayClientPlayerInput packet instead.

  • Constructor Details

    • WrapperPlayClientSteerVehicle

      public WrapperPlayClientSteerVehicle(PacketReceiveEvent event)
    • WrapperPlayClientSteerVehicle

      public WrapperPlayClientSteerVehicle(float sideways, float forward, byte flags)
  • Method Details