mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 12:59:41 +00:00
Bump version to 9.1, add Laser Amplifier comparator support, add Saturating Condensers to recycle water from Industrial Turbines
This commit is contained in:
1 parent
53a9204974
commit
95c0ad4a73
28 files changed
+295
-118
No files matched your search
@@ -818,6 +818,19 @@ public class BlockMachine extends BlockContainer implements ISpecialBounds, IBlo
|
||||
return ((TileEntityFluidTank)tileEntity).getRedstoneLevel();
|
||||
}
|
||||
|
||||
if(tileEntity instanceof TileEntityLaserAmplifier)
|
||||
{
|
||||
TileEntityLaserAmplifier amplifier = (TileEntityLaserAmplifier)tileEntity;
|
||||
|
||||
if(amplifier.outputMode == TileEntityLaserAmplifier.RedstoneOutput.ENERGY_CONTENTS)
|
||||
{
|
||||
return amplifier.getRedstoneLevel();
|
||||
}
|
||||
else {
|
||||
return isProvidingWeakPower(world, x, y, z, par5);
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user