Class StriderTemperatureChangeEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.StriderTemperatureChangeEvent

public class StriderTemperatureChangeEvent extends EntityEvent
Called when a Strider's temperature has changed as a result of entering or existing blocks it considers warm.
  • Constructor Details

    • StriderTemperatureChangeEvent

      public StriderTemperatureChangeEvent(@NotNull Strider what, boolean shivering)
  • Method Details

    • getEntity

      @NotNull public Strider getEntity()
      Description copied from class: EntityEvent
      Returns the Entity involved in this event
      Overrides:
      getEntity in class EntityEvent
      Returns:
      Entity who is involved in this event
    • isShivering

      public boolean isShivering()
      Get the Strider's new shivering state.
      Returns:
      the new shivering state
    • getHandlers

      @NotNull public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      @NotNull public static HandlerList getHandlerList()