stack ignis solar multipliers

This commit is contained in:
greesyB committed 2021-10-14 14:01:07 -05:00
1 parent fca0feb92a
commit f5010bcdf9
1 file changed
+9 -7
@@ -118,10 +118,10 @@ public class TileEntitySolarBase extends TileEntityEMT implements IInventory, IW
return 2F;
}
case AER:
case TERRA:
case IGNIS: {
case TERRA: {
return 3F;
}
case IGNIS:
case AQUA: {
return 6F;
}
@@ -169,12 +169,14 @@ public class TileEntitySolarBase extends TileEntityEMT implements IInventory, IW
return 1F;
}
case IGNIS: {
float mult = 1F;
if (VisNetHandler.drainVis(worldObj, xCoord, yCoord, zCoord, Aspect.FIRE, 10) >= 10)
return 3F;
else if (this.worldObj.provider.dimensionId == (-1))
return 2F;
else
return 1F;
mult *= 3F;
if (this.worldObj.provider.dimensionId == (-1))
mult *= 2F;
return mult;
}
default:
return 1f;