Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package net.mincraft.src;
- import java.util.Random;
- public class mod_test extends BaseMod{
- public static final Block Lead = new BlockLead(200, 0).setBlockName("Lead Ore").setHardness(1F).setResistance(2F).setLightValue(0F);
- public void load(){
- Lead.blockIndexInTexture = ModLeader.addOverride("/terrain.png", "/LeadOre.png");
- ModLoader.registerBlock(Lead);
- ModLoader.addName(Lead, "Lead Ore");
- ModLoader.addRecipe(new ItemStack(Lead, 2), new Object[]{
- "# #", " # "," # ", Character.valueOf('#'), Block.dirt
- });
- }
- public String getVersion(){
- return "This is a test Beta";
- }
- }
Add Comment
Please, Sign In to add comment