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(@NotNull Strider what,
boolean shivering) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull Strider |
getEntity()
Returns the Entity involved in this event
|
static @NotNull HandlerList |
getHandlerList() |
@NotNull HandlerList |
getHandlers() |
boolean |
isShivering()
Get the Strider's new shivering state.
|
getEntityTypecallEvent, getEventName, isAsynchronous@NotNull public @NotNull Strider getEntity()
EntityEventgetEntity in class EntityEventpublic boolean isShivering()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class Event@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.