Guest User

ModHelp?

a guest
Oct 7th, 2012
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. package moreores.common;
  2.  
  3. import net.minecraft.src.Block;
  4. import net.minecraft.src.Item;
  5. import net.minecraft.src.ItemStack;
  6. import cpw.mods.fml.common.Mod;
  7. import cpw.mods.fml.common.Mod.Init;
  8. import cpw.mods.fml.common.network.NetworkMod;
  9. import cpw.mods.fml.common.registry.GameRegistry;
  10.  
  11. @Mod(modid = "Luke_Moreores", name = "Moreores", version = "1.0")
  12. @NetworkMod(clientSideRequired = true, serverSideRequired = false)
  13. public class Moreores
  14. {
  15. @Init
  16. public void load ()
  17. {
  18. GameRegistry.addRecipe(new ItemStack(Block.blockDiamond, 1), new Object[]
  19. {
  20. "OGO",
  21. "GCG",
  22. "OGO",
  23. 'O', Block.obsidian, 'G', Block.blockGold, 'C', Item.coal
  24.  
  25. });
  26. GameRegistry.addShapelessRecipe(new ItemStack(Block.cobblestoneMossy, 1), new Object[]
  27. {
  28. new ItemStack(Block.cobblestone), new ItemStack(Item.seeds)
  29. });
  30. GameRegistry.addSmelting(Block.obsidian.blockID, new ItemStack(Item.diamond), 1F);
  31. }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment