Trees not replacing tallgrass blocks
whichonespink44 opened this issue ยท 2 comments
Either trees aren't replacing tallgrass blocks, or the tallgrass is replacing log blocks. 99.99% certain it's the former but need to investigate to be certain.
It'll most likely be one of these methods:
But then I eventually said...
@Override
protected boolean canGrowInto(Block blockType)
{
Material material = blockType.getDefaultState().getMaterial();
return material == Material.AIR
|| material == Material.LEAVES
|| material == Material.PLANTS
|| material == Material.GRASS
|| material == Material.GROUND
|| material == Material.WOOD
|| material == Material.VINE
|| material == Material.SNOW;
}
@srs-bsns said:
https://github.com/Team-RTG/Realistic-Terrain-Generation/blob/1.10.2-dev/src/main/java/rtg/world/gen/feature/tree/rtg/TreeRTG.java#L201-L210
that needs to include Material.GRASS