Computer integration fixes
This commit is contained in:
parent
a4ab830e79
commit
c2006d5e70
2 changed files with 4 additions and 2 deletions
|
@ -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()
|
||||
|
|
|
@ -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."};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue