public class StriderTemperatureChangeEvent extends EntityEvent
Strider's temperature has changed as a result of
entering or existing blocks it considers warm.Event.Resultentity| Constructor and Description |
|---|
StriderTemperatureChangeEvent(Strider what,
boolean shivering) |
| Modifier and Type | Method and Description |
|---|---|
Strider |
getEntity()
Returns the Entity involved in this event
|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
boolean |
isShivering()
Get the Strider's new shivering state.
|
getEntityTypegetEventName, isAsynchronous@NotNull public Strider getEntity()
EntityEventgetEntity in class EntityEventpublic boolean isShivering()
@NotNull public HandlerList getHandlers()
getHandlers in class Event@NotNull public static HandlerList getHandlerList()
Copyright © 2021. All rights reserved.