Guest User

Untitled

a guest
Oct 18th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. package net.mincraft.src;
  2.  
  3. import java.util.Random;
  4.  
  5. public class mod_test extends BaseMod{
  6.  
  7. public static final Block Lead = new BlockLead(200, 0).setBlockName("Lead Ore").setHardness(1F).setResistance(2F).setLightValue(0F);
  8.  
  9. public void load(){
  10.  
  11. Lead.blockIndexInTexture = ModLeader.addOverride("/terrain.png", "/LeadOre.png");
  12. ModLoader.registerBlock(Lead);
  13. ModLoader.addName(Lead, "Lead Ore");
  14. ModLoader.addRecipe(new ItemStack(Lead, 2), new Object[]{
  15. "# #", " # "," # ", Character.valueOf('#'), Block.dirt
  16. });
  17.  
  18. }
  19.  
  20. public String getVersion(){
  21. return "This is a test Beta";
  22. }
  23.  
  24. }
Add Comment
Please, Sign In to add comment