Interface RegionWorldEvent

All Superinterfaces:
org.spongepowered.api.event.Cancellable, org.spongepowered.api.event.Event
All Known Subinterfaces:
RegionChangeBlockEvent, RegionChangeBlockEvent.Break, RegionChangeBlockEvent.LiquidFlow, RegionChangeBlockEvent.Place, RegionChangeInventoryEvent, RegionChangeInventoryEvent.Drop, RegionChangeInventoryEvent.Pickup, RegionCollideEntityEvent, RegionDamageEntityEvent, RegionEntityChangeWorldEvent, RegionExecuteCommandEvent, RegionExplosionEvent, RegionExplosionEvent.EntityDamage, RegionExplosionEvent.Surface, RegionImpactEvent, RegionImpactEvent.Block, RegionImpactEvent.Entity, RegionInteractBlockEvent, RegionInteractEntityEvent, RegionInteractEntityEvent.Primary, RegionInteractEntityEvent.Secondary, RegionInteractItemEvent, RegionMoveEntityEvent, RegionMoveEntityEvent.ChangeRegion, RegionPistonEvent, RegionPistonEvent.Grief, RegionPistonEvent.OneRegion, RegionSpawnEntityEvent, RegionUseItemStackEvent

public interface RegionWorldEvent extends org.spongepowered.api.event.Event, org.spongepowered.api.event.Cancellable
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the Region where the event occurred.
    <T extends org.spongepowered.api.event.Event>
    T
    Getting the Sponge event.
    May be `null` if the original event is not a Sponge event.
    org.spongepowered.api.world.server.ServerWorld
    Get event ServerWorld

    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

      Region getRegion()
      Get the Region where the event occurred.
    • getWorld

      org.spongepowered.api.world.server.ServerWorld getWorld()
      Get event ServerWorld
    • getSpongeEvent

      @Nullable <T extends org.spongepowered.api.event.Event> T getSpongeEvent()
      Getting the Sponge event.
      May be `null` if the original event is not a Sponge event.