Moss texture update
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Before Width: | Height: | Size: 504 B After Width: | Height: | Size: 502 B |
Before Width: | Height: | Size: 471 B After Width: | Height: | Size: 476 B |
Before Width: | Height: | Size: 356 B After Width: | Height: | Size: 360 B |
Before Width: | Height: | Size: 409 B After Width: | Height: | Size: 406 B |