Fix landmine explosion and add result of planks datagen

This commit is contained in:
Andrew-71 2023-08-05 19:08:17 +03:00
parent a118072923
commit cd2f02f614
97 changed files with 2065 additions and 0 deletions

View file

@ -121,6 +121,7 @@ public class LandMineBlock extends Block implements Waterloggable {
}
public void explode(World world, BlockPos pos) {
if (world.isClient()) return;
world.removeBlock(pos, false);
float f = 4.0F;
world.createExplosion(null, pos.getX(), pos.getY(), pos.getZ(), 4.0F, World.ExplosionSourceType.TNT);