redfoxhint

AlloyOvenRecipes

Oct 23rd, 2014
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.82 KB | None | 0 0
  1. package com.arucraft.crafting;
  2.  
  3. import com.arucraft.ArucraftMain;
  4.  
  5. import net.minecraft.item.Item;
  6. import net.minecraft.item.ItemStack;
  7.  
  8. public class AlloyOvenRecipes {
  9.  
  10.     public AlloyOvenRecipes() {
  11.  
  12.     }
  13.  
  14.     public static ItemStack getMakingResult(Item item, Item item2, Item item3) {
  15.         return getOutput(item, item2, item3);
  16.     }
  17.  
  18.     public static ItemStack getOutput(Item item, Item item2, Item item3) {
  19.         //Recipes
  20.         if (item == ArucraftMain.itemCopperIngot && item2 == ArucraftMain.itemTinIngot || item == ArucraftMain.itemTinIngot && item2 == ArucraftMain.itemCopperIngot || item2 == ArucraftMain.itemCopperIngot && item3 == ArucraftMain.itemTinIngot || item2 == ArucraftMain.itemTinIngot && item3 == ArucraftMain.itemCopperIngot) {
  21.             return new ItemStack(ArucraftMain.itemBronzeIngot, 2);
  22.         }
  23.         return null;
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment