Advertisement
Guest User

Recipe Code

a guest
Jan 28th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.52 KB | None | 0 0
  1.     public static void init(){
  2.         GameRegistry.addRecipe(new ItemStack(BlockList.basicSolarPanel, 64),
  3.                 new Object[] { "A A", " A ", "A A", 'A', Blocks.dirt });
  4.  
  5.         GameRegistry.addRecipe(new ItemStack(Blocks.crafting_table, 1), new Object[] { "A", 'A', Blocks.dirt });
  6.  
  7.         GameRegistry.addRecipe(new ItemStack(Items.diamond_pickaxe), new Object[] { "AA", 'A', Blocks.dirt });
  8.        
  9.         GameRegistry.addRecipe(new ItemStack(ItemList.wrench), new Object[] { // This is the one
  10.                 "A",
  11.                 "A",
  12.                 'A', Blocks.dirt
  13.         });
  14.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement