Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 23rd, 2012  |  syntax: None  |  size: 0.45 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. package net.minecraft.src;
  2.  
  3. public class mod_spring extends BaseMod
  4. {
  5.         public static final Item spring = (new Item(2001)).setItemName("spring");
  6.              
  7.        
  8.  
  9. public mod_spring()
  10. {
  11. ModLoader.AddName(spring , "spring");
  12. spring.iconIndex = ModLoader.addOverride("/gui/items.png", "/spring.png");
  13. ModLoader.AddRecipe(new ItemStack(spring, 1), new Object[]{ "#", "#", Character.valueOf('#'), Item.ingotIron });
  14. }
  15.  
  16.  
  17. public String Version(){
  18.         return "1.8.1";
  19. }
  20. }