Class RegionUtils

java.lang.Object
redempt.redlib.region.RegionUtils

public class RegionUtils extends Object
Utilities for niche use cases of Regions
  • Constructor Details

    • RegionUtils

      public RegionUtils()
  • Method Details

    • findInside

      public static MultiRegion findInside(CuboidRegion region)
      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