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.
    Author:
    Mithion
    • Field Detail

      • distance

        private float distance
      • multiplier

        private float multiplier
    • Constructor Detail

      • PlayerFlyableFallEvent

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

      • getDistance

        public float getDistance()
      • setDistance

        public void setDistance​(float distance)
      • getMultiplier

        public float getMultiplier()
      • setMultiplier

        public void setMultiplier​(float multiplier)