mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
porous stone as bedrock oil indicator
This commit is contained in:
parent
a297bf0f4c
commit
0da3781cff
@ -1289,7 +1289,7 @@ public class ModBlocks {
|
||||
stone_depth_nether = new BlockDepth().setBlockName("stone_depth_nether").setCreativeTab(MainRegistry.blockTab).setBlockTextureName(RefStrings.MODID + ":stone_depth_nether");
|
||||
ore_depth_nether_neodymium = new BlockDepthOre().setBlockName("ore_depth_nether_neodymium").setCreativeTab(MainRegistry.blockTab).setBlockTextureName(RefStrings.MODID + ":ore_depth_nether_neodymium");
|
||||
|
||||
stone_porous = new BlockPorous().setBlockName("stone_porous").setCreativeTab(null).setBlockTextureName(RefStrings.MODID + ":stone_porous");
|
||||
stone_porous = new BlockPorous().setBlockName("stone_porous").setCreativeTab(MainRegistry.blockTab).setBlockTextureName(RefStrings.MODID + ":stone_porous");
|
||||
|
||||
basalt = new BlockGeneric(Material.rock).setBlockName("basalt").setCreativeTab(MainRegistry.blockTab).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":basalt");
|
||||
basalt_sulfur = new BlockOre(Material.rock).setBlockName("basalt_sulfur").setCreativeTab(MainRegistry.blockTab).setHardness(5.0F).setResistance(10.0F).setBlockTextureName(RefStrings.MODID + ":basalt_sulfur");
|
||||
|
||||
@ -15,8 +15,8 @@ public class BlockPorous extends BlockStone {
|
||||
|
||||
public BlockPorous() {
|
||||
super();
|
||||
this.setHardness(1.5F); //stone tier
|
||||
this.setResistance(300.0F); //ha
|
||||
this.setHardness(1.5F);
|
||||
this.setResistance(30.0F);
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -25,23 +25,6 @@ public class BlockPorous extends BlockStone {
|
||||
return new ItemStack(Blocks.stone);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBlockAdded(World world, int x, int y, int z) {
|
||||
super.onBlockAdded(world, x, y, z);
|
||||
world.scheduleBlockUpdate(x, y, z, this, this.tickRate(world));
|
||||
}
|
||||
|
||||
@Override
|
||||
public int tickRate(World world) {
|
||||
return 90 + world.rand.nextInt(20);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateTick(World world, int x, int y, int z, Random rand) {
|
||||
ChunkRadiationManager.proxy.decrementRad(world, x, y, z, 10F);
|
||||
//world.scheduleBlockUpdate(x, y, z, this, this.tickRate(world));
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isReplaceableOreGen(World world, int x, int y, int z, Block target) {
|
||||
return target == this || target == Blocks.stone;
|
||||
|
||||
@ -557,6 +557,8 @@ public class HbmWorldGen implements IWorldGenerator {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
DungeonToolbox.generateOre(world, rand, i, j, 16, 8, 10, 50, ModBlocks.stone_porous);
|
||||
}
|
||||
|
||||
if (GeneralConfig.enableNITAN) {
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 248 B |
Loading…
x
Reference in New Issue
Block a user