mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-20 03:59:37 +00:00
Computer integration fixes
This commit is contained in:
1 parent
a4ab830e79
commit
c2006d5e70
2 files changed
+4
-2
No files matched your search
@@ -161,7 +161,7 @@ public class TileEntityInductionCasing extends TileEntityMultiblock<Synchronized
|
||||
return structure != null ? structure.storageCap : 0;
|
||||
}
|
||||
|
||||
public static final String[] methods = new String[] {"getStored", "getMaxEnergy", "getLastInput", "getLastOutput", "getTransferCap"};
|
||||
public static final String[] methods = new String[] {"getStored", "getMaxEnergy", "getInput", "getOutput", "getTransferCap"};
|
||||
|
||||
@Override
|
||||
public String[] getMethods()
|
||||
|
||||
+3
-1
@@ -132,7 +132,7 @@ public class TileEntityReactorLogicAdapter extends TileEntityReactorBlock implem
|
||||
return data;
|
||||
}
|
||||
|
||||
private static final String[] methods = new String[] {"isIgnited", "canIgnite", "getPlasmaHeat", "getMaxPlasmaHeat", "getCaseHeat", "getMaxCaseHeat", "getInjectionRate", "setInjectionRate", "hasFuel"};
|
||||
private static final String[] methods = new String[] {"isIgnited", "canIgnite", "getPlasmaHeat", "getMaxPlasmaHeat", "getCaseHeat", "getMaxCaseHeat", "getInjectionRate", "setInjectionRate", "hasFuel", "getProducing"};
|
||||
|
||||
@Override
|
||||
public String[] getMethods()
|
||||
@@ -176,6 +176,8 @@ public class TileEntityReactorLogicAdapter extends TileEntityReactorBlock implem
|
||||
case 8:
|
||||
return new Object[] {(getReactor().getDeuteriumTank().getStored() >= getReactor().getInjectionRate()/2) &&
|
||||
(getReactor().getTritiumTank().getStored() >= getReactor().getInjectionRate()/2)};
|
||||
case 9:
|
||||
return new Object[] {getReactor().getPassiveGeneration(false, true)};
|
||||
default:
|
||||
return new Object[] {"Unknown command."};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user