public abstract class GelStructureStart
extends net.minecraft.world.gen.feature.structure.StructureStart
Constructor and Description |
---|
GelStructureStart(net.minecraft.world.gen.feature.structure.Structure<?> structureIn,
int chunkX,
int chunkZ,
net.minecraft.util.math.MutableBoundingBox boundsIn,
int referenceIn,
long seed) |
Modifier and Type | Method and Description |
---|---|
void |
setHeight(int y)
Places the structure at the y value set.
|
void |
setHeight(int minY,
int maxY)
Places the structure at a y value between the two values entered such that
the top of it's bounding box is below maxY and the bottom of it's bounding
box is above minY.
If minY is bigger than maxY, or vis versa, it automatically corrects it. |
public GelStructureStart(net.minecraft.world.gen.feature.structure.Structure<?> structureIn, int chunkX, int chunkZ, net.minecraft.util.math.MutableBoundingBox boundsIn, int referenceIn, long seed)
public void setHeight(int minY, int maxY)
minY
- maxY
- public void setHeight(int y)
y
-