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(Entity what)
public Entity getEntity()
public EntityType getEntityType()
Copyright © 2021. All rights reserved.