Package dev.espi.protectionstones.utils
Class WGMerge
java.lang.Object
dev.espi.protectionstones.utils.WGMerge
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
findOverlappingRegionGroups(org.bukkit.World w, List<com.sk89q.worldguard.protection.regions.ProtectedRegion> regions, HashMap<String,String> idToGroup, HashMap<String,ArrayList<String>> groupToIDs)
static PSRegion
mergeRealRegions(org.bukkit.World w, com.sk89q.worldguard.protection.managers.RegionManager rm, PSRegion root, List<PSRegion> merge)
static PSRegion
mergeRegions(String newID, org.bukkit.World w, com.sk89q.worldguard.protection.managers.RegionManager rm, PSRegion root, List<PSRegion> merge)
static void
unmergeRegion(org.bukkit.World w, com.sk89q.worldguard.protection.managers.RegionManager rm, PSMergedRegion toUnmerge)
-
Constructor Details
-
WGMerge
public WGMerge()
-
-
Method Details
-
findOverlappingRegionGroups
-
unmergeRegion
public static void unmergeRegion(org.bukkit.World w, com.sk89q.worldguard.protection.managers.RegionManager rm, PSMergedRegion toUnmerge) throws WGMerge.RegionHoleException, WGMerge.RegionCannotMergeWhileRentedException -
mergeRealRegions
public static PSRegion mergeRealRegions(org.bukkit.World w, com.sk89q.worldguard.protection.managers.RegionManager rm, PSRegion root, List<PSRegion> merge) throws WGMerge.RegionHoleException, WGMerge.RegionCannotMergeWhileRentedException -
mergeRegions
public static PSRegion mergeRegions(String newID, org.bukkit.World w, com.sk89q.worldguard.protection.managers.RegionManager rm, PSRegion root, List<PSRegion> merge) throws WGMerge.RegionHoleException, WGMerge.RegionCannotMergeWhileRentedException
-