- All Superinterfaces:
org.spongepowered.api.event.Cancellable
, org.spongepowered.api.event.Event
, RegionWorldEvent
-
Method Summary
Get the
Region
where the event occurred.
org.spongepowered.api.entity.Entity
Get the entity that is the source of the event.
org.spongepowered.api.event.entity.CollideEntityEvent
Get the sponge CollideEntityEvent
org.spongepowered.api.entity.Entity
Get the entity that is the target of the event.
boolean
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
Methods inherited from interface org.spongepowered.api.event.Event
cause, context, source
-
Method Details
-
getRegion
Get the
Region
where the event occurred.
- Specified by:
getRegion
in interface RegionWorldEvent
- Returns:
- The world encompassing these block changes
-
getSpongeEvent
org.spongepowered.api.event.entity.CollideEntityEvent getSpongeEvent()
Get the sponge CollideEntityEvent
- Specified by:
getSpongeEvent
in interface RegionWorldEvent
-
isAllow
boolean isAllow()
Get protect result.
-
getSource
org.spongepowered.api.entity.Entity getSource()
Get the entity that is the source of the event.
- Returns:
- entity
-
getTarget
org.spongepowered.api.entity.Entity getTarget()
Get the entity that is the target of the event.
- Returns:
- entity