public class StriderTemperatureChangeEvent extends EntityEvent
Strider
's temperature has changed as a result of
entering or existing blocks it considers warm.Event.Result
entity
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.
|
getEntityType
callEvent, getEventName, isAsynchronous
@NotNull public @NotNull Strider getEntity()
EntityEvent
getEntity
in class EntityEvent
public boolean isShivering()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.