java.lang.Object
com.hypixel.hytale.server.worldgen.util.bounds.ChunkBounds
All Implemented Interfaces:
IChunkBounds
Direct Known Subclasses:
WorldBounds

public class ChunkBounds extends Object implements IChunkBounds
  • Field Details

    • minX

      protected int minX
    • minZ

      protected int minZ
    • maxX

      protected int maxX
    • maxZ

      protected int maxZ
  • Constructor Details

    • ChunkBounds

      public ChunkBounds()
    • ChunkBounds

      public ChunkBounds(@Nonnull IChunkBounds bounds)
    • ChunkBounds

      public ChunkBounds(int minX, int minZ, int maxX, int maxZ)
    • ChunkBounds

      public ChunkBounds(int x, int z)
  • Method Details

    • getLowBoundX

      public int getLowBoundX()
      Specified by:
      getLowBoundX in interface IChunkBounds
    • getLowBoundZ

      public int getLowBoundZ()
      Specified by:
      getLowBoundZ in interface IChunkBounds
    • getHighBoundX

      public int getHighBoundX()
      Specified by:
      getHighBoundX in interface IChunkBounds
    • getHighBoundZ

      public int getHighBoundZ()
      Specified by:
      getHighBoundZ in interface IChunkBounds
    • expandNegative

      public void expandNegative(int x, int z)
    • expandPositive

      public void expandPositive(int x, int z)
    • expandNegative

      public void expandNegative(double x, double z)
    • expandPositive

      public void expandPositive(double x, double z)
    • include

      public void include(int minX, int minZ, int maxX, int maxZ)
    • include

      public void include(int x, int z)
    • include

      public void include(@Nonnull IChunkBounds box)
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class Object