-
Nested Class Summary
Nested Classes
static interface
static interface
-
Method Summary
Optional<org.spongepowered.api.entity.living.player.server.ServerPlayer>
Get the
Region
where the event occurred.
org.spongepowered.api.entity.Entity
Get the entity that is the source 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
-
getSource
org.spongepowered.api.entity.Entity getSource()
Get the entity that is the source of the event.
- Returns:
- entity
-
getRegion
Get the
Region
where the event occurred.
- Specified by:
getRegion
in interface RegionWorldEvent
- Returns:
- The world encompassing these block changes
-
isAllow
boolean isAllow()
Get protect result.
-