Package dev.espi.protectionstones.utils
Class WGMerge
java.lang.Object
dev.espi.protectionstones.utils.WGMerge
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidfindOverlappingRegionGroups(org.bukkit.World w, List<com.sk89q.worldguard.protection.regions.ProtectedRegion> regions, HashMap<String,String> idToGroup, HashMap<String,ArrayList<String>> groupToIDs)static PSRegionmergeRealRegions(org.bukkit.World w, com.sk89q.worldguard.protection.managers.RegionManager rm, PSRegion root, List<PSRegion> merge)static PSRegionmergeRegions(String newID, org.bukkit.World w, com.sk89q.worldguard.protection.managers.RegionManager rm, PSRegion root, List<PSRegion> merge)static voidunmergeRegion(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
-