public class StriderTemperatureChangeEvent extends EntityEvent
Strider's temperature has changed as a result of
entering or existing blocks it considers warm.Event.Resultentity| Constructor | Description |
|---|---|
StriderTemperatureChangeEvent(@NotNull Strider what,
boolean shivering) |
| Modifier and Type | Method | 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.
|
getEntityTypegetEventName, isAsynchronouspublic StriderTemperatureChangeEvent(@NotNull
@NotNull Strider what,
boolean shivering)
@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 © 2020. All rights reserved.