Skip to content

Mekanism API Notes

Mikayla Fischler edited this page Jan 14, 2022 · 7 revisions

Mekanism Computer Integration: https://docs.google.com/spreadsheets/d/1sheh1BIeP_vSto881H6UtgXvxdbyJEfILM_uUW_UD7Q/

API Functions for Machines in Use

Reactor Logic Port

activation high temperature excess waste damage critical (100%+) insufficient fuel

mekanism logic:

activate = isPowered() == 1 high temp = getTemperature() >= 1200 excess waste = getWasteNeeded() == 0 damaged = getDamagePercent() >= 100 depleted = getFuelFilledPercentage() == 0

Fission Reactor (fissionReactor)

getHeatCapacity getFuelAssemblies getFuelSurfaceArea getFuelCapacity getWasteCapacity getCoolantCapacity getHeatedCoolantCapacity

getStatus getHeatingRate getTemperature getDamagePercent getBoilEfficiency getEnvironmentalLoss

getFuel getFuelNeeded getFuelFilledPercentage

getWaste getWasteNeeded getWasteFilledPercentage

getCoolant = ['name': mekanism:sodium, 'amount': 45000000] getCoolantNeeded getCoolantFilledPercentage

getHeatedCoolant getHeatedCoolantNeeded getHeatedCoolantFilledPercentage

getBurnRate getActualBurnRate getMaxBurnRate

scram setBurnRate activate

Boiler

getSuperheaters getBoilCapacity getSteamCapacity getWaterCapacity getHeatedCoolantCapacity getCooledCoolantCapacity

getTemperature getEnvironmentalLoss

getBoilRate getMaxBoilRate

getSteamNeeded getSteam getSteamFilledPercentage

getWater getWaterNeeded getWaterFilledPercentage

getHeatedCoolant getHeatedCoolantNeeded getHeatedCoolantFilledPercentage

getCooledCoolant getCooledCoolantNeeded getCooledCoolantFilledPercentage

Turbine

getCoils getBlades getVents getDispersers getCondensers getDumpingMode getSteamCapacity

getProductionRate getMaxProduction getLastSteamInputRate

getFlowRate getMaxFlowRate getMaxWaterOutput

getSteam getSteamNeeded getSteamFilledPercentage

Induction Matrix (generic mekanismMachine)

getTotalEnergyFilledPercentage getTotalEnergy getTotalMaxEnergy getTotalEnergyNeeded

Clone this wiki locally