Alchemy recipes finished
This commit is contained in:
parent
17f63200aa
commit
639d9fc87c
2 changed files with 19 additions and 153 deletions
|
@ -784,161 +784,12 @@ public class TEAltar extends TileEntity implements IInventory, IFluidTank, IFlui
|
|||
return;
|
||||
}
|
||||
|
||||
if (getStackInSlot(0).getItem() instanceof ItemBlock)
|
||||
{
|
||||
// if(!getStackInSlot(0).isItemDamaged()&&getStackInSlot(0).getItemDamage()>16&&!isActive)
|
||||
// {
|
||||
// getStackInSlot(0).setItemDamage(0);
|
||||
// }
|
||||
if (upgradeLevel >= 4)
|
||||
{
|
||||
if (getStackInSlot(0).itemID == Block.coalBlock.blockID)
|
||||
{
|
||||
isActive = true;
|
||||
liquidRequired = 2000;
|
||||
canBeFilled = false;
|
||||
consumptionRate = 20;
|
||||
drainRate = 10;
|
||||
resultID = ModItems.duskScribeTool.itemID;
|
||||
resultDamage = 0;
|
||||
isResultBlock = false;
|
||||
//setInventorySlotContents(1, bloodOrb);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (upgradeLevel >= 3)
|
||||
{
|
||||
if (getStackInSlot(0).itemID == Block.blockGold.blockID)
|
||||
{
|
||||
isActive = true;
|
||||
liquidRequired = 25000;
|
||||
canBeFilled = false;
|
||||
consumptionRate = 20;
|
||||
drainRate = 20;
|
||||
//ItemStack bloodOrb = new ItemStack(AlchemicalWizardry.magicianBloodOrb);
|
||||
resultID = ModItems.magicianBloodOrb.itemID;
|
||||
resultDamage = 0;
|
||||
isResultBlock = false;
|
||||
//setInventorySlotContents(1, bloodOrb);
|
||||
return;
|
||||
}
|
||||
|
||||
if (getStackInSlot(0).itemID == ModBlocks.emptySocket.blockID)
|
||||
{
|
||||
isActive = true;
|
||||
liquidRequired = 30000;
|
||||
canBeFilled = false;
|
||||
consumptionRate = 40;
|
||||
drainRate = 10;
|
||||
//ItemStack bloodOrb = new ItemStack(AlchemicalWizardry.weakBloodOrb);
|
||||
resultID = ModBlocks.bloodSocket.blockID;
|
||||
resultDamage = 0;
|
||||
isResultBlock = true;
|
||||
//setInventorySlotContents(1, bloodOrb);
|
||||
return;
|
||||
}
|
||||
|
||||
if (getStackInSlot(0).itemID == Block.obsidian.blockID)
|
||||
{
|
||||
isActive = true;
|
||||
liquidRequired = 1000;
|
||||
canBeFilled = false;
|
||||
consumptionRate = 5;
|
||||
drainRate = 5;
|
||||
resultID = ModItems.earthScribeTool.itemID;
|
||||
resultDamage = 0;
|
||||
isResultBlock = false;
|
||||
//setInventorySlotContents(1, bloodOrb);
|
||||
return;
|
||||
}
|
||||
|
||||
if (getStackInSlot(0).itemID == Block.blockLapis.blockID)
|
||||
{
|
||||
isActive = true;
|
||||
liquidRequired = 1000;
|
||||
canBeFilled = false;
|
||||
consumptionRate = 5;
|
||||
drainRate = 5;
|
||||
resultID = ModItems.waterScribeTool.itemID;
|
||||
resultDamage = 0;
|
||||
isResultBlock = false;
|
||||
//setInventorySlotContents(1, bloodOrb);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (upgradeLevel >= 2)
|
||||
{
|
||||
if (getStackInSlot(0).itemID == Block.glass.blockID)
|
||||
{
|
||||
isActive = true;
|
||||
liquidRequired = 1000;
|
||||
canBeFilled = false;
|
||||
consumptionRate = 5;
|
||||
drainRate = 5;
|
||||
resultID = ModItems.blankSpell.itemID;
|
||||
resultDamage = 0;
|
||||
isResultBlock = false;
|
||||
//setInventorySlotContents(1, bloodOrb);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (getStackInSlot(0).itemID == Block.stone.blockID)
|
||||
{
|
||||
isActive = true;
|
||||
liquidRequired = 1000;
|
||||
canBeFilled = false;
|
||||
consumptionRate = 5;
|
||||
drainRate = 5;
|
||||
resultID = ModItems.blankSlate.itemID;
|
||||
resultDamage = 0;
|
||||
isResultBlock = false;
|
||||
//setInventorySlotContents(1, bloodOrb);
|
||||
return;
|
||||
}
|
||||
} else
|
||||
{
|
||||
// if(!getStackInSlot(0).isItemDamaged()&&getStackInSlot(0).getItemDamage()>16&&!isActive)
|
||||
// {
|
||||
// getStackInSlot(0).setItemDamage(0);
|
||||
// }
|
||||
if (upgradeLevel >= 5)
|
||||
{
|
||||
if (getStackInSlot(0).itemID == ModItems.demonBloodShard.itemID)
|
||||
{
|
||||
isActive = true;
|
||||
liquidRequired = 75000;
|
||||
canBeFilled = false;
|
||||
consumptionRate = 50;
|
||||
drainRate = 100;
|
||||
resultID = ModItems.archmageBloodOrb.itemID;
|
||||
resultDamage = 0;
|
||||
isResultBlock = false;
|
||||
//setInventorySlotContents(1, bloodOrb);
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if (upgradeLevel >= 4)
|
||||
{
|
||||
if (getStackInSlot(0).itemID == ModItems.imbuedSlate.itemID)
|
||||
{
|
||||
isActive = true;
|
||||
liquidRequired = 15000;
|
||||
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 >= 3)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue