Class RegionOverlapAssociation
java.lang.Object
com.sk89q.worldguard.protection.association.AbstractRegionOverlapAssociation
com.sk89q.worldguard.protection.association.RegionOverlapAssociation
- All Implemented Interfaces:
RegionAssociable
Determines that the association to a region is
OWNER
if the input
region is in a set of source regions.-
Field Summary
Fields inherited from class com.sk89q.worldguard.protection.association.AbstractRegionOverlapAssociation
source
-
Constructor Summary
ConstructorsConstructorDescriptionRegionOverlapAssociation
(Set<ProtectedRegion> source) Create a new instance.RegionOverlapAssociation
(Set<ProtectedRegion> source, boolean useMaxPriorityAssociation) Create a new instance. -
Method Summary
Methods inherited from class com.sk89q.worldguard.protection.association.AbstractRegionOverlapAssociation
calcMaxPriority, getAssociation
-
Constructor Details
-
RegionOverlapAssociation
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 withinuseMaxPriorityAssociation
- whether to use the max priority from regions to determine association
-