Class PlayerLandEvent

java.lang.Object
org.bukkit.event.Event
studio.magemonkey.fabled.api.event.PlayerLandEvent

public class PlayerLandEvent extends org.bukkit.event.Event
Event for when a player lands on the ground after falling/jumping
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlayerLandEvent(org.bukkit.entity.Player player, double distance)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    org.bukkit.entity.Player
     

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PlayerLandEvent

      public PlayerLandEvent(org.bukkit.entity.Player player, double distance)
      Constructor
      Parameters:
      player - the player who landed on the ground
      distance - how far they fell
  • Method Details

    • getPlayer

      public org.bukkit.entity.Player getPlayer()
      Returns:
      player who landed on the ground
    • getDistance

      public double getDistance()
      Returns:
      the distance the player fell
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
      Returns:
      gets the handlers for the event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
      Returns:
      gets the handlers for the event