public EnergyValue minEnergyValue;
public EnergyValue maxEnergyValue;
public CachedCalcinationRecipe(ItemStack outputDust)
{
output = new PositionedStack(outputDust, 101, 19);
inputs = new ArrayList<PositionedStack>();
minEnergyValue = EnergyValueRegistryProxy.getEnergyValue(outputDust);
maxEnergyValue = (outputDust.getItemDamage() < (ItemAlchemicalDust.getAlchemicalDusts().size() - 1) ? EnergyValueRegistryProxy.getEnergyValue(ItemAlchemicalDust.getAlchemicalDusts().get(outputDust.getItemDamage() + 1)) : new EnergyValue(Float.MAX_VALUE, EnergyType.CORPOREAL));
for (Object obj : EnergyValueRegistryProxy.getStacksInRange(minEnergyValue, maxEnergyValue))
{
if (obj instanceof ItemStack)
{
inputs.add(new PositionedStack((ItemStack) obj, 40, 0));
}
}
}