FIXME removals

This commit is contained in:
Sebastian Hartte
2020-06-22 11:35:52 +02:00
parent 195cbecdb3
commit 45dd8930d3
17 changed files with 48 additions and 106 deletions
@@ -20,6 +20,7 @@ package appeng.worldgen.meteorite;
import net.minecraft.block.Block;
import net.minecraft.block.BlockState;
import net.minecraft.block.Blocks;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.IWorld;
import net.minecraft.world.chunk.IChunk;
@@ -69,7 +70,7 @@ public class ChunkOnly extends StandardWorld {
if (this.range(pos)) {
return this.target.getBlockState(new BlockPos(pos)).getBlock();
}
return Platform.AIR_BLOCK;
return Blocks.AIR;
}
@Override
@@ -64,7 +64,7 @@ public class Fallout {
} else if (a > 0.5) {
this.putter.put(w, pos, Blocks.GRAVEL.getDefaultState());
} else {
this.putter.put(w, pos, Platform.AIR_BLOCK.getDefaultState());
this.putter.put(w, pos, Blocks.AIR.getDefaultState());
}
}
}
@@ -65,7 +65,7 @@ public class StandardWorld implements IMeteoriteWorld {
if (this.range(pos)) {
return this.getWorld().getBlockState(new BlockPos(pos)).getBlock();
}
return Platform.AIR_BLOCK;
return Blocks.AIR;
}
@Override