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