Class PlayerVehicleInformation

java.lang.Object
net.minestom.server.entity.vehicle.PlayerVehicleInformation

public class PlayerVehicleInformation extends Object
  • Constructor Details

    • PlayerVehicleInformation

      public PlayerVehicleInformation()
  • Method Details

    • getSideways

      public float getSideways()
    • getForward

      public float getForward()
    • shouldJump

      public boolean shouldJump()
    • shouldUnmount

      public boolean shouldUnmount()
    • refresh

      public void refresh(float sideways, float forward, boolean jump, boolean unmount)
      Refresh internal data
      Parameters:
      sideways - the new sideways value
      forward - the new forward value
      jump - the new jump value
      unmount - the new unmount value