Crystal grass & small changes
This commit is contained in:
parent
4073e0a32c
commit
7de70c9553
22 changed files with 376 additions and 14 deletions
|
@ -39,7 +39,7 @@ public abstract class ScatterFeature extends DefaultFeature {
|
|||
|
||||
protected boolean getGroundPlant(StructureWorldAccess world, Mutable pos) {
|
||||
int down = BlocksHelper.downRay(world, pos, 16);
|
||||
if (down > 10) {
|
||||
if (down > Math.abs(getYOffset() * 2)) {
|
||||
return false;
|
||||
}
|
||||
pos.setY(pos.getY() - down);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue