Class RegionOverlapAssociation

java.lang.Object
com.sk89q.worldguard.protection.association.AbstractRegionOverlapAssociation
com.sk89q.worldguard.protection.association.RegionOverlapAssociation
All Implemented Interfaces:
RegionAssociable

public class RegionOverlapAssociation extends AbstractRegionOverlapAssociation
Determines that the association to a region is OWNER if the input region is in a set of source regions.
  • Constructor Details

    • RegionOverlapAssociation

      public RegionOverlapAssociation(@Nonnull Set<ProtectedRegion> source)
      Create a new instance.
      Parameters:
      source - set of regions that input regions must be contained within
    • RegionOverlapAssociation

      public RegionOverlapAssociation(@Nonnull Set<ProtectedRegion> source, boolean useMaxPriorityAssociation)
      Create a new instance.
      Parameters:
      source - set of regions that input regions must be contained within
      useMaxPriorityAssociation - whether to use the max priority from regions to determine association