Advertisement
Guest User

Untitled

a guest
Sep 4th, 2015
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1.  
  2. public class OreTitanium extends Block {
  3. private String name = "OreTitanium";
  4. public OreTitanium(){
  5. super(Material.rock);
  6. this.setCreativeTab(CreativeTabs.tabBlock);
  7. this.setBlockName(ModInfo.ID + "_" + name);
  8. GameRegistry.registerBlock(this, name);
  9. this.setResistance(1750f);
  10. this.setHardness(30f);
  11. this.setHarvestLevel("pickaxe", 3);
  12. setBlockTextureName(ModInfo.ID+ ":" + name);
  13.  
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement