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. 
 | 
getEventName, getHandlers, isAsynchronousprotected Entity entity
public EntityEvent(@NotNull
                   @NotNull Entity what)
@NotNull public @NotNull Entity getEntity()
@NotNull public @NotNull EntityType getEntityType()
Copyright © 2021. All rights reserved.