Final 1.2.0 push!

This commit is contained in:
WayofTime 2014-10-13 12:25:40 -04:00
parent 3d6d7bcdd6
commit e6a10f3f06
4 changed files with 3 additions and 29 deletions

View file

@ -306,32 +306,6 @@ public class BlockAltar extends BlockContainer
// return true;
// }
@Override
public int isProvidingWeakPower(IBlockAccess par1IBlockAccess, int par2, int par3, int par4, int par5)
{
TileEntity tile = par1IBlockAccess.getTileEntity(par2, par3, par4);
if (tile instanceof TEAltar)
{
// if(tile.worldObj.isRemote)
// {
// return 0;
// }
ItemStack stack = ((TEAltar) tile).getStackInSlot(0);
if (stack != null && stack.getItem() instanceof EnergyBattery)
{
EnergyBattery bloodOrb = (EnergyBattery) stack.getItem();
int maxEssence = bloodOrb.getMaxEssence();
int currentEssence = bloodOrb.getCurrentEssence(stack);
int level = currentEssence * 15 / maxEssence;
return ((int) (Math.min(15, level))) % 16;
}
}
return 0;
}
@Override
public TileEntity createNewTileEntity(World var1, int var2)
{

View file

@ -59,7 +59,7 @@ public class ItemBlockCrystalBelljar extends ItemBlock
if(tanks == null)
{
list.add("Empty");
list.add("- Empty");
}else
{
list.add("Current Contents:");

View file

@ -22,7 +22,7 @@ public class RitualEffectFlight extends RitualEffect
{
public static final int aetherDrain = 10;
public static final int reductusDrain = 5;
public static final int reagentCooldown = 5;
public static final int reagentCooldown = 50;
@Override
public void performEffect(IMasterRitualStone ritualStone)