mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 04:09:43 +00:00
Added 'Grinding Balls' to the SAG Mill for > 2x ore output.
This commit is contained in:
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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user