public abstract class EntityEvent extends Event
Event.Result
Constructor and Description |
---|
EntityEvent(@NotNull Entity what) |
Modifier and Type | Method and Description |
---|---|
@NotNull Entity |
getEntity()
Returns the Entity involved in this event
|
@NotNull EntityType |
getEntityType()
Gets the EntityType of the Entity involved in this event.
|
callEvent, getEventName, getHandlers, isAsynchronous
protected Entity entity
@NotNull public @NotNull Entity getEntity()
@NotNull public @NotNull EntityType getEntityType()
Copyright © 2021. All rights reserved.