Class WorldBounds
java.lang.Object
com.hypixel.hytale.server.worldgen.util.bounds.ChunkBounds
com.hypixel.hytale.server.worldgen.util.bounds.WorldBounds
- All Implemented Interfaces:
IChunkBounds,IWorldBounds
-
Field Summary
FieldsFields inherited from class com.hypixel.hytale.server.worldgen.util.bounds.ChunkBounds
maxX, maxZ, minX, minZ -
Constructor Summary
ConstructorsConstructorDescriptionWorldBounds(int x, int y, int z) WorldBounds(int minX, int minY, int minZ, int maxX, int maxY, int maxZ) WorldBounds(IWorldBounds bounds) -
Method Summary
Modifier and TypeMethodDescriptionvoidexpandNegative(double x, double y, double z) voidexpandPositive(double x, double y, double z) intintvoidinclude(IChunkBounds bounds) Methods inherited from class com.hypixel.hytale.server.worldgen.util.bounds.ChunkBounds
expandNegative, expandNegative, expandPositive, expandPositive, getHighBoundX, getHighBoundZ, getLowBoundX, getLowBoundZ, include, include, toStringMethods 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, getHighBoundX, getHighBoundZ, getHighBoundZ, getHighChunkX, getHighChunkZ, getLowBoundX, getLowBoundX, getLowBoundZ, getLowBoundZ, getLowChunkX, getLowChunkZ, intersectsChunk, randomX, randomZMethods inherited from interface com.hypixel.hytale.server.worldgen.util.bounds.IWorldBounds
fractionY, intersectsChunk, randomY
-
Field Details
-
minY
protected int minY -
maxY
protected int maxY
-
-
Constructor Details
-
WorldBounds
public WorldBounds() -
WorldBounds
-
WorldBounds
public WorldBounds(int minX, int minY, int minZ, int maxX, int maxY, int maxZ) -
WorldBounds
public WorldBounds(int x, int y, int z)
-
-
Method Details
-
getLowBoundY
public int getLowBoundY()- Specified by:
getLowBoundYin interfaceIWorldBounds
-
getHighBoundY
public int getHighBoundY()- Specified by:
getHighBoundYin interfaceIWorldBounds
-
expandNegative
public void expandNegative(double x, double y, double z) -
expandPositive
public void expandPositive(double x, double y, double z) -
include
- Overrides:
includein classChunkBounds
-