Class PlayerFlyableFallEvent

public class PlayerFlyableFallEvent extends PlayerEvent
Occurs when a player falls, but is able to fly. Doesn't need to be cancelable, this is mainly for notification purposes.
  • Field Details

    • distance

      private float distance
    • multiplier

      private float multiplier
  • Constructor Details

    • PlayerFlyableFallEvent

      public PlayerFlyableFallEvent(PlayerEntity player, float distance, float multiplier)
  • Method Details

    • getDistance

      public float getDistance()
    • setDistance

      public void setDistance(float distance)
    • getMultiplier

      public float getMultiplier()
    • setMultiplier

      public void setMultiplier(float multiplier)