Class StargateEntityPortalEvent
java.lang.Object
org.bukkit.event.Event
org.sgrewritten.stargate.api.event.portal.StargatePortalEvent
org.sgrewritten.stargate.api.event.portal.StargateEntityPortalEvent
- Direct Known Subclasses:
DeniableStargatePortalEvent
,StargateActivatePortalEvent
,StargateOpenPortalEvent
,StargateTeleportPortalEvent
An abstract event describing any stargate event where a player is involved
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.entity.Entity
Gets the entity involved in this eventMethods inherited from class org.sgrewritten.stargate.api.event.portal.StargatePortalEvent
getPortal
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, getHandlers, isAsynchronous
-
Method Details
-
getEntity
public org.bukkit.entity.Entity getEntity()Gets the entity involved in this event- Returns:
The entity involved in this event
-