Cultures spawning

This commit is contained in:
paulevsGitch 2021-03-20 09:26:23 +03:00
parent 945a322b53
commit a549f52527
9 changed files with 45 additions and 0 deletions

View file

@ -226,6 +226,11 @@ public class BlocksHelper {
}
}
}
else if (state.isOf(EndBlocks.CAVE_PUMPKIN)) {
if (!world.getBlockState(POS.up()).isOf(EndBlocks.CAVE_PUMPKIN_SEED)) {
setWithoutUpdate(world, POS, AIR);
}
}
else if (!state.canPlaceAt(world, POS)) {
// Chorus
if (state.isOf(Blocks.CHORUS_PLANT)) {