Package redempt.redlib.region
Class RegionUtils
java.lang.Object
redempt.redlib.region.RegionUtils
Utilities for niche use cases of Regions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MultiRegion
findInside
(CuboidRegion region) Finds the spaces within a Region that can be considered "inside" - space that is surrounded by other blocks
-
Constructor Details
-
RegionUtils
public RegionUtils()
-
-
Method Details
-
findInside
Finds the spaces within a Region that can be considered "inside" - space that is surrounded by other blocks- Parameters:
region
- The region to find the interior space of- Returns:
- A MultiRegion representing all of the "inside" space within the given region
-