Structure pieces
This commit is contained in:
parent
1ceb433a61
commit
86ea607d64
6 changed files with 209 additions and 0 deletions
|
@ -78,6 +78,10 @@ public class MossyGlowshroomFeature extends DefaultFeature {
|
|||
Vector3f pos = spline.get(spline.size() - 1);
|
||||
float scale = MHelper.randRange(0.75F, 1.1F, random);
|
||||
|
||||
if (featureConfig != null && random.nextInt(32) == 0) {
|
||||
scale *= MHelper.randRange(2F, 3F, random);
|
||||
}
|
||||
|
||||
Vector3f vec = spline.get(0);
|
||||
float x1 = blockPos.getX() + vec.getX() * scale;
|
||||
float y1 = blockPos.getY() + vec.getY() * scale;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue