Interface RegionPistonEvent.Grief

All Superinterfaces:
org.spongepowered.api.event.Cancellable, org.spongepowered.api.event.Event, RegionMessageEvent, RegionPistonEvent, RegionWorldEvent
Enclosing interface:
RegionPistonEvent

public static interface RegionPistonEvent.Grief extends RegionPistonEvent
  • Method Details

    • getAffectedRegions

      List<Region> getAffectedRegions()
      Getting all regions with which the piston interacts.
      The collection does not contain the region in which the piston is located.
      Because of an incomprehensible error with the list of locations when searching for a region is taken not only the original position, but also the next following it.
    • isAllowGrief

      boolean isAllowGrief()
      Get protect result.