Moss texture update

This commit is contained in:
paulevsGitch 2020-12-24 18:55:01 +03:00
parent 5599b1b06f
commit a9ea7a1448
5 changed files with 2 additions and 3 deletions

View file

@ -118,6 +118,7 @@ public class UmbrellaTreeFeature extends DefaultFeature {
} }
return info.getState(); return info.getState();
}).fillRecursive(world, pos); }).fillRecursive(world, pos);
makeRoots(world, pos.add(0, 2, 0), (size * 0.3F + 3) * scale, random, wood);
for (Center c: centers) { for (Center c: centers) {
if (!world.getBlockState(new BlockPos(c.px, c.py, c.pz)).isAir()) { if (!world.getBlockState(new BlockPos(c.px, c.py, c.pz)).isAir()) {
@ -133,8 +134,6 @@ public class UmbrellaTreeFeature extends DefaultFeature {
} }
} }
makeRoots(world, pos.add(0, 2, 0), (size * 0.3F + 3) * scale, random, wood);
return true; return true;
} }
@ -149,7 +148,7 @@ public class UmbrellaTreeFeature extends DefaultFeature {
SplineHelper.scale(branch, scale); SplineHelper.scale(branch, scale);
Vector3f last = branch.get(branch.size() - 1); Vector3f last = branch.get(branch.size() - 1);
if (world.getBlockState(pos.add(last.getX(), last.getY(), last.getZ())).isIn(EndTags.GEN_TERRAIN)) { if (world.getBlockState(pos.add(last.getX(), last.getY(), last.getZ())).isIn(EndTags.GEN_TERRAIN)) {
SplineHelper.fillSpline(branch, world, wood, pos, REPLACE); SplineHelper.fillSplineForce(branch, world, wood, pos, REPLACE);
} }
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 504 B

After

Width:  |  Height:  |  Size: 502 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 471 B

After

Width:  |  Height:  |  Size: 476 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 356 B

After

Width:  |  Height:  |  Size: 360 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 409 B

After

Width:  |  Height:  |  Size: 406 B

Before After
Before After