Giant Mushroom

This commit is contained in:
paulevsGitch 2020-10-06 12:26:13 +03:00
parent 2afdc1e2eb
commit 150b005257
12 changed files with 288 additions and 6 deletions

View file

@ -78,10 +78,6 @@ 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;