Advertisement
Guest User

Untitled

a guest
Jun 5th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. if (!OreDictionary.getOres("ingotTin").isEmpty()) {
  2. //GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(
  3. // StorageBlockMod, 1, 0), "xxx", "xxx", "xxx", 'x',
  4. // "ingotTin"));
  5. ItemStack tiningot;
  6. tiningot = OreDictionary.getOres("ingotTin").get(0);
  7. ItemStack result = tiningot.copy();
  8. result.stackSize = 1;
  9. //GameRegistry.addShapelessRecipe(result, new ItemStack(
  10. // StorageBlockMod, 1, 0));
  11. GameRegistry.addShapelessRecipe(new ItemStack(result, 1, 0),
  12. new ItemStack(result), new ItemStack(oredictionarybook, 1, OreDictionary.WILDCARD_VALUE));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement