Class RegionWrapper

All Implemented Interfaces:
IBatchProcessor, FlatRegion, Region, Cloneable, Iterable<BlockVector3>, Collection<BlockVector3>, Set<BlockVector3>

@Deprecated public class RegionWrapper extends CuboidRegion
Deprecated.
  • Field Details

    • minX

      public int minX
      Deprecated.
    • maxX

      public int maxX
      Deprecated.
    • minY

      public int minY
      Deprecated.
    • maxY

      public int maxY
      Deprecated.
    • minZ

      public int minZ
      Deprecated.
    • maxZ

      public int maxZ
      Deprecated.
  • Constructor Details

  • Method Details

    • GLOBAL

      public static RegionWrapper GLOBAL()
      Deprecated.
    • recalculate

      protected void recalculate()
      Deprecated.
      Description copied from class: CuboidRegion
      Sets the cached min and max x/y/z and clamps Y to world y min/max
      Overrides:
      recalculate in class CuboidRegion
    • toArray

      public RegionWrapper[] toArray()
      Deprecated.
      Specified by:
      toArray in interface Collection<BlockVector3>
      Specified by:
      toArray in interface Set<BlockVector3>
      Overrides:
      toArray in class AbstractCollection<BlockVector3>
    • isIn

      public boolean isIn(int x, int y, int z)
      Deprecated.
    • isInChunk

      public boolean isInChunk(int cx, int cz)
      Deprecated.
    • isInMCA

      public boolean isInMCA(int mcaX, int mcaZ)
      Deprecated.
    • isIn

      public boolean isIn(int x, int z)
      Deprecated.
    • distanceX

      public int distanceX(int x)
      Deprecated.
    • distanceZ

      public int distanceZ(int z)
      Deprecated.
    • intersects

      public boolean intersects(RegionWrapper other)
      Deprecated.
    • distance

      public int distance(int x, int z)
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class CuboidRegion
    • isGlobal

      public boolean isGlobal()
      Deprecated.
    • contains

      public boolean contains(RegionWrapper current)
      Deprecated.