Class ChunkBounds
java.lang.Object
com.hypixel.hytale.server.worldgen.util.bounds.ChunkBounds
- All Implemented Interfaces:
IChunkBounds
- Direct Known Subclasses:
WorldBounds
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionChunkBounds(int x, int z) ChunkBounds(int minX, int minZ, int maxX, int maxZ) ChunkBounds(IChunkBounds bounds) -
Method Summary
Modifier and TypeMethodDescriptionvoidexpandNegative(double x, double z) voidexpandNegative(int x, int z) voidexpandPositive(double x, double z) voidexpandPositive(int x, int z) intintintintvoidinclude(int x, int z) voidinclude(int minX, int minZ, int maxX, int maxZ) voidinclude(IChunkBounds box) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.hypixel.hytale.server.worldgen.util.bounds.IChunkBounds
fractionX, fractionZ, getHighBoundX, getHighBoundZ, getHighChunkX, getHighChunkZ, getLowBoundX, getLowBoundZ, getLowChunkX, getLowChunkZ, intersectsChunk, intersectsChunk, randomX, randomZ
-
Field Details
-
minX
protected int minX -
minZ
protected int minZ -
maxX
protected int maxX -
maxZ
protected int maxZ
-
-
Constructor Details
-
ChunkBounds
public ChunkBounds() -
ChunkBounds
-
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:
getLowBoundXin interfaceIChunkBounds
-
getLowBoundZ
public int getLowBoundZ()- Specified by:
getLowBoundZin interfaceIChunkBounds
-
getHighBoundX
public int getHighBoundX()- Specified by:
getHighBoundXin interfaceIChunkBounds
-
getHighBoundZ
public int getHighBoundZ()- Specified by:
getHighBoundZin interfaceIChunkBounds
-
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
-
toString
-