C
- public abstract class GelStructureStart<C extends net.minecraft.world.gen.feature.IFeatureConfig>
extends net.minecraft.world.gen.feature.structure.StructureStart<C>
StructureStart
with a few methods for adjusting the y
coordinate of your structure. Not sure how useful it is, but it doesn't hurt
to keep.Constructor and Description |
---|
GelStructureStart(net.minecraft.world.gen.feature.structure.Structure<C> 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<C> 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
-