Adjusted Altar hardness

This commit is contained in:
Adubbz 2013-06-08 19:14:17 +10:00
parent 4e4788944a
commit f7248ec185
3 changed files with 4 additions and 2 deletions

View File

@ -16,7 +16,7 @@
- **Tim Rurkowski** - Music author
- **Soaryn** - Help with the Altar Frame renderer
- **Soaryn** - Help making the Altar Frames
## World Conversion##
As of Biomes O Plenty 0.5.2, changes have been made so that the number of block ids used by the mod are drastically reduced. However, as a side-effect of these changes, existing worlds will no longer work.

View File

@ -55,7 +55,8 @@ public class BlockAltar extends Block
super(blockID, Material.rock);
this.setCreativeTab(BiomesOPlenty.tabBiomesOPlenty);
this.blockHardness = 0.37F;
this.setHardness(3.0F);
this.setResistance(5.0F);
}
@Override

View File

@ -99,6 +99,7 @@ public class BOPBlocks {
// MinecraftForge.setBlockHarvestLevel(Blocks.quicksand.get(), "shovel", 0);
MinecraftForge.setBlockHarvestLevel(Blocks.driedDirt.get(), "pickaxe", 0);
MinecraftForge.setBlockHarvestLevel(Blocks.altar.get(), "pickaxe", 0);
MinecraftForge.setBlockHarvestLevel(Blocks.amethystOre.get(), 0, "pickaxe", 3);
MinecraftForge.setBlockHarvestLevel(Blocks.amethystOre.get(), 2, "pickaxe", 2);
MinecraftForge.setBlockHarvestLevel(Blocks.amethystOre.get(), 4, "pickaxe", 2);