From 5b05cf651bffc93a590673da6e6e95a768436222 Mon Sep 17 00:00:00 2001 From: WayofTime Date: Sat, 25 Jan 2014 17:12:02 -0500 Subject: [PATCH] *Altar recipe, sorry! --- .../common/tileEntity/TEAltar.java | 169 +----------------- 1 file changed, 1 insertion(+), 168 deletions(-) diff --git a/BM_src/WayofTime/alchemicalWizardry/common/tileEntity/TEAltar.java b/BM_src/WayofTime/alchemicalWizardry/common/tileEntity/TEAltar.java index 7ea5d8d1..9d85190f 100644 --- a/BM_src/WayofTime/alchemicalWizardry/common/tileEntity/TEAltar.java +++ b/BM_src/WayofTime/alchemicalWizardry/common/tileEntity/TEAltar.java @@ -783,174 +783,7 @@ public class TEAltar extends TileEntity implements IInventory, IFluidTank, IFlui this.drainRate = recipe.drainRate; return; } - - { -// if(!getStackInSlot(0).isItemDamaged()&&getStackInSlot(0).getItemDamage()>16&&!isActive) -// { -// getStackInSlot(0).setItemDamage(0); -// } - - - if (upgradeLevel >= 3) - { - if (getStackInSlot(0).itemID == ModItems.magicianBloodOrb.itemID) - { - ItemStack item = getStackInSlot(0); - - if (item.stackTagCompound == null || item.stackTagCompound.getString("ownerName").equals("")) - { - return; - } - - isActive = true; - canBeFilled = true; - consumptionRate = 15; - isResultBlock = false; - return; - } - - if (getStackInSlot(0).itemID == ModItems.lavaCrystal.itemID) - { - isActive = true; - liquidRequired = 10000; - canBeFilled = false; - consumptionRate = 20; - drainRate = 10; - //ItemStack bloodOrb = new ItemStack(AlchemicalWizardry.weakBloodOrb); - resultID = ModItems.activationCrystal.itemID; - resultDamage = 0; - isResultBlock = false; - //setInventorySlotContents(1, bloodOrb); - return; - } - - if (getStackInSlot(0).itemID == Item.magmaCream.itemID) - { - isActive = true; - liquidRequired = 1000; - canBeFilled = false; - consumptionRate = 5; - drainRate = 5; - resultID = ModItems.fireScribeTool.itemID; - resultDamage = 0; - isResultBlock = false; - //setInventorySlotContents(1, bloodOrb); - return; - } - - if (getStackInSlot(0).itemID == Item.ghastTear.itemID) - { - isActive = true; - liquidRequired = 1000; - canBeFilled = false; - consumptionRate = 5; - drainRate = 5; - resultID = ModItems.airScribeTool.itemID; - resultDamage = 0; - isResultBlock = false; - //setInventorySlotContents(1, bloodOrb); - return; - } - - if (getStackInSlot(0).itemID == ModItems.reinforcedSlate.itemID) - { - isActive = true; - liquidRequired = 7000; - canBeFilled = false; - consumptionRate = 5; - drainRate = 5; - ItemStack bloodOrb = new ItemStack(ModItems.apprenticeBloodOrb); - resultID = ModItems.imbuedSlate.itemID; - resultDamage = 0; - isResultBlock = false; - //setInventorySlotContents(1, bloodOrb); - return; - } - } - - if (upgradeLevel >= 2) - { - - - - - if (getStackInSlot(0).itemID == Item.swordIron.itemID) - { - isActive = true; - liquidRequired = 3000; - canBeFilled = false; - consumptionRate = 5; - drainRate = 5; - resultID = ModItems.daggerOfSacrifice.itemID; - resultDamage = 0; - isResultBlock = false; - //setInventorySlotContents(1, bloodOrb); - return; - } - - if (getStackInSlot(0).itemID == Item.glassBottle.itemID) - { - isActive = true; - liquidRequired = 2000; - canBeFilled = false; - consumptionRate = 5; - drainRate = 5; - resultID = ModItems.alchemyFlask.itemID; - resultDamage = ModItems.alchemyFlask.getMaxDamage(); - isResultBlock = false; - //setInventorySlotContents(1, bloodOrb); - return; - } - - if (getStackInSlot(0).itemID == ModItems.blankSlate.itemID) - { - isActive = true; - liquidRequired = 2000; - canBeFilled = false; - consumptionRate = 5; - drainRate = 5; - ItemStack bloodOrb = new ItemStack(ModItems.apprenticeBloodOrb); - resultID = ModItems.reinforcedSlate.itemID; - resultDamage = 0; - isResultBlock = false; - //setInventorySlotContents(1, bloodOrb); - return; - } - } - -// if (getStackInSlot(0).itemID == Item.diamond.itemID) -// { -// isActive = true; -// liquidRequired = 2000; -// canBeFilled = false; -// consumptionRate = 2; -// drainRate = 1; -// ItemStack bloodOrb = new ItemStack(ModItems.weakBloodOrb); -// resultID = ModItems.weakBloodOrb.itemID; -// resultDamage = 0; -// isResultBlock = false; -// //setInventorySlotContents(1, bloodOrb); -// return; -// } - - - - if (getStackInSlot(0).itemID == Item.bucketEmpty.itemID) - { - isActive = true; - liquidRequired = 1000; - canBeFilled = false; - consumptionRate = 5; - drainRate = 0; - //ItemStack bloodOrb = new ItemStack(AlchemicalWizardry.weakBloodOrb); - resultID = AlchemicalWizardry.bucketLife.itemID; - resultDamage = 0; - isResultBlock = false; - //setInventorySlotContents(1, bloodOrb); - return; - } - } - + isActive = false; }