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

@ -21,7 +21,7 @@ public class VineFeature extends InvertedScatterFeature {
@Override
public boolean canGenerate(StructureWorldAccess world, Random random, BlockPos center, BlockPos blockPos, float radius) {
return vineBlock.canPlaceAt(AIR, world, blockPos);
return world.isAir(blockPos) && vineBlock.canPlaceAt(AIR, world, blockPos);
}
@Override