Added 'Grinding Balls' to the SAG Mill for > 2x ore output.

This commit is contained in:
cp committed 2014-04-22 20:51:43 +08:00
1 parent c1363bc2f3
commit a726e382a2
25 files changed
+570 -69

No files matched your search

@@ -55,7 +55,7 @@ public class PoweredTask {
this.recipe = recipe;
this.usedEnergy = usedEnergy;
this.chance = chance;
this.chance = MathHelper.clamp_float(chance, 0, 1);
requiredEnergy = recipe.getEnergyRequired(inputsIn);
}
@@ -83,6 +83,22 @@ public class PoweredTask {
this.inputs = inputs;
}
public float getRequiredEnergy() {
return requiredEnergy;
}
public void setRequiredEnergy(float requiredEnergy) {
this.requiredEnergy = requiredEnergy;
}
public float getChance() {
return chance;
}
public void setChance(float chance) {
this.chance = chance;
}
public void writeToNBT(NBTTagCompound nbtRoot) {
NBTTagCompound stackRoot;