Computer Methods for Mekanism 10.7.0

Methods

API Global: computerEnergyHelper
Method Name Params Returns Description
feToJoules
fe
Number (long)
Number (long) Convert Forge Energy to Mekanism Joules
joulesToFE
joules
Number (long)
Number (long) Convert Mekanism Joules to Forge Energy
API Global: computerFilterHelper
Method Name Params Returns Description
createMinerItemFilter
item
String (Item)
Table (MinerItemStackFilter) Create a Digital Miner Item Filter from an Item name
createMinerModIdFilter
modId
String
Table (MinerModIDFilter) Create a Digital Miner Mod Id Filter from a mod id
createMinerTagFilter
tag
String
Table (MinerTagFilter) Create a Digital Miner Tag Filter from a Tag name
createOredictionificatorItemFilter
filterTag
String (ResourceLocation)
Table (OredictionificatorItemFilter) Create an Oredictionificator filter from a tag, without specifying an output item
createOredictionificatorItemFilter
filterTag
String (ResourceLocation)
selectedOutput
String (Item)
Table (OredictionificatorItemFilter) Create an Oredictionificator filter from a tag and a selected output. The output is not validated.
createQIOItemFilter
item
String (Item)
Table (QIOItemStackFilter) Create a QIO Item Filter structure from an Item name
createQIOModIdFilter
modId
String
Table (QIOModIDFilter) Create a QIO Mod Id Filter from a mod id
createQIOTagFilter
tag
String
Table (QIOTagFilter) Create a QIO Tag Filter from a Tag name
createSorterItemFilter
item
String (Item)
Table (SorterItemStackFilter) Create a Logistical Sorter Item Filter structure from an Item name
createSorterModIdFilter
modId
String
Table (SorterModIDFilter) Create a Logistical Sorter Mod Id Filter structure from a mod id
createSorterTagFilter
tag
String
Table (SorterTagFilter) Create a Logistical Sorter Tag Filter from a tag
Antiprotonic Nucleosynthesizer
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getInputChemical Table (ChemicalStack) Get the contents of the input gas tank.
getInputChemicalCapacity Number (long) Get the capacity of the input gas tank.
getInputChemicalFilledPercentage Number (double) Get the filled percentage of the input gas tank.
getInputChemicalItem Table (ItemStack) Get the contents of the input gas item slot.
getInputChemicalNeeded Number (long) Get the amount needed to fill the input gas tank.
getInputItem Table (ItemStack) Get the contents of the input item slot.
getOutputItem Table (ItemStack) Get the contents of the output slot.
Bin
Method Name Params Returns Description
getCapacity Number (int) Get the maximum number of items the bin can contain.
getLock Table (ItemStack) Get the type of item the Bin is locked to (or Air if not locked)
getStored Table (ItemStack) Get the contents of the bin.
isLocked boolean If true, the Bin is locked to a particular item type.
lock Lock the Bin to the currently stored item type. The Bin must not be creative, empty, or already locked
unlock Unlock the Bin's fixed item type. The Bin must not be creative, or already unlocked
Bio Generator
Method Name Params Returns Description
getBioFuel Table (FluidStack) Get the contents of the biofuel tank.
getBioFuelCapacity Number (int) Get the capacity of the biofuel tank.
getBioFuelFilledPercentage Number (double) Get the filled percentage of the biofuel tank.
getBioFuelNeeded Number (int) Get the amount needed to fill the biofuel tank.
getEnergyItem Table (ItemStack) Get the contents of the energy item.
getFuelItem Table (ItemStack) Get the contents of the fuel slot.
Boiler Multiblock (formed)
Method Name Params Returns Description
getBoilCapacity Number (long) Get the maximum possible boil rate for this Boiler, based on the number of Superheating Elements
getBoilRate Number (int) Get the rate of boiling (mB/t)
getCooledCoolant Table (ChemicalStack) Get the contents of the cooled coolant tank.
getCooledCoolantCapacity Number (long) Get the capacity of the cooled coolant tank.
getCooledCoolantFilledPercentage Number (double) Get the filled percentage of the cooled coolant tank.
getCooledCoolantNeeded Number (long) Get the amount needed to fill the cooled coolant tank.
getEnvironmentalLoss Number (double) Get the amount of heat lost to the environment in the last tick (Kelvin)
getHeatedCoolant Table (ChemicalStack) Get the contents of the heated coolant tank.
getHeatedCoolantCapacity Number (long) Get the capacity of the heated coolant tank.
getHeatedCoolantFilledPercentage Number (double) Get the filled percentage of the heated coolant tank.
getHeatedCoolantNeeded Number (long) Get the amount needed to fill the heated coolant tank.
getMaxBoilRate Number (int) Get the maximum rate of boiling seen (mB/t)
getSteam Table (ChemicalStack) Get the contents of the steam tank.
getSteamCapacity Number (long) Get the capacity of the steam tank.
getSteamFilledPercentage Number (double) Get the filled percentage of the steam tank.
getSteamNeeded Number (long) Get the amount needed to fill the steam tank.
getSuperheaters Number (int) How many superheaters this Boiler has
getTemperature Number (double) Get the temperature of the boiler in Kelvin.
getWater Table (FluidStack) Get the contents of the water tank.
getWaterCapacity Number (int) Get the capacity of the water tank.
getWaterFilledPercentage Number (double) Get the filled percentage of the water tank.
getWaterNeeded Number (int) Get the amount needed to fill the water tank.
Boiler Valve
Method Name Params Returns Description
decrementMode Toggle the current valve configuration to the previous option in the list
getMode String (BoilerValveMode) Get the current configuration of this valve
incrementMode Toggle the current valve configuration to the next option in the list
setMode
mode
String (BoilerValveMode)
Change the configuration of this valve
Chemical Crystallizer
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getInput Table (ChemicalStack) Get the contents of the input tank.
getInputCapacity Number (long) Get the capacity of the input tank.
getInputFilledPercentage Number (double) Get the filled percentage of the input tank.
getInputItem Table (ItemStack) Get the contents of the input item slot.
getInputNeeded Number (long) Get the amount needed to fill the input tank.
getOutput Table (ItemStack) Get the contents of the output slot.
Chemical Dissolution Chamber
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getGasInput Table (ChemicalStack) Get the contents of the gas input tank.
getGasInputCapacity Number (long) Get the capacity of the gas input tank.
getGasInputFilledPercentage Number (double) Get the filled percentage of the gas input tank.
getGasInputNeeded Number (long) Get the amount needed to fill the gas input tank.
getInputGasItem Table (ItemStack) Get the contents of the gas input item slot.
getInputItem Table (ItemStack) Get the contents of the input slot.
getOutput Table (ChemicalStack) Get the contents of the output tank.
getOutputCapacity Number (long) Get the capacity of the output tank.
getOutputFilledPercentage Number (double) Get the filled percentage of the output tank.
getOutputItem Table (ItemStack) Get the contents of the output slot.
getOutputNeeded Number (long) Get the amount needed to fill the output tank.
Chemical Infuser
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getLeftInput Table (ChemicalStack) Get the contents of the left input tank.
getLeftInputCapacity Number (long) Get the capacity of the left input tank.
getLeftInputFilledPercentage Number (double) Get the filled percentage of the left input tank.
getLeftInputItem Table (ItemStack) Get the contents of the left input item slot.
getLeftInputNeeded Number (long) Get the amount needed to fill the left input tank.
getOutput Table (ChemicalStack) Get the contents of the output (center) tank.
getOutputCapacity Number (long) Get the capacity of the output (center) tank.
getOutputFilledPercentage Number (double) Get the filled percentage of the output (center) tank.
getOutputItem Table (ItemStack) Get the contents of the output item slot.
getOutputNeeded Number (long) Get the amount needed to fill the output (center) tank.
getRightInput Table (ChemicalStack) Get the contents of the right input tank.
getRightInputCapacity Number (long) Get the capacity of the right input tank.
getRightInputFilledPercentage Number (double) Get the filled percentage of the right input tank.
getRightInputItem Table (ItemStack) Get the contents of the right input item slot.
getRightInputNeeded Number (long) Get the amount needed to fill the right input tank.
Chemical Oxidizer
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getInput Table (ItemStack) Get the contents of the input slot.
getOutput Table (ChemicalStack) Get the contents of the output tank.
getOutputCapacity Number (long) Get the capacity of the output tank.
getOutputFilledPercentage Number (double) Get the filled percentage of the output tank.
getOutputItem Table (ItemStack) Get the contents of the output item slot.
getOutputNeeded Number (long) Get the amount needed to fill the output tank.
Chemical Tank
Method Name Params Returns Description
decrementDumpingMode Descend the Dumping mode to the previous configuration in the list
getCapacity Number (long) Get the capacity of the tank.
getDrainItem Table (ItemStack) Get the contents of the drain slot.
getDumpingMode String (GasMode) Get the current Dumping configuration
getFillItem Table (ItemStack) Get the contents of the fill slot.
getFilledPercentage Number (double) Get the filled percentage of the tank.
getNeeded Number (long) Get the amount needed to fill the tank.
getStored Table (ChemicalStack) Get the contents of the tank.
incrementDumpingMode Advance the Dumping mode to the next configuration in the list
setDumpingMode
mode
String (GasMode)
Set the Dumping mode of the tank
Chemical Washer
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getFluid Table (FluidStack) Get the contents of the fluid tank.
getFluidCapacity Number (int) Get the capacity of the fluid tank.
getFluidFilledPercentage Number (double) Get the filled percentage of the fluid tank.
getFluidItemInput Table (ItemStack) Get the contents of the fluid item input slot.
getFluidItemOutput Table (ItemStack) Get the contents of the fluid item output slot.
getFluidNeeded Number (int) Get the amount needed to fill the fluid tank.
getOutputItem Table (ItemStack) Get the contents of the slurry item output slot.
getSlurryInput Table (ChemicalStack) Get the contents of the input slurry tank.
getSlurryInputCapacity Number (long) Get the capacity of the input slurry tank.
getSlurryInputFilledPercentage Number (double) Get the filled percentage of the input slurry tank.
getSlurryInputNeeded Number (long) Get the amount needed to fill the input slurry tank.
getSlurryOutput Table (ChemicalStack) Get the contents of the output slurry tank.
getSlurryOutputCapacity Number (long) Get the capacity of the output slurry tank.
getSlurryOutputFilledPercentage Number (double) Get the filled percentage of the output slurry tank.
getSlurryOutputNeeded Number (long) Get the amount needed to fill the output slurry tank.
Combiner
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getMainInput Table (ItemStack) Get the contents of the main input slot.
getOutput Table (ItemStack) Get the contents of the output slot.
getSecondaryInput Table (ItemStack) Get the contents of the secondary input slot.
Combining Factory
Method Name Params Returns Description
getSecondaryInput Table (ItemStack) Get the contents of the secondary input slot.
Compressing/Infusing/Injecting/Purifying Factory
Method Name Params Returns Description
dumpChemical Empty the contents of the chemical tank into the environment
getChemical Table (ChemicalStack) Get the contents of the chemical tank.
getChemicalCapacity Number (long) Get the capacity of the chemical tank.
getChemicalFilledPercentage Number (double) Get the filled percentage of the chemical tank.
getChemicalItem Table (ItemStack) Get the contents of the chemical item (extra) slot.
getChemicalNeeded Number (long) Get the amount needed to fill the chemical tank.
Compressing/Injecting/Purifying Machine
Method Name Params Returns Description
dumpChemical Empty the contents of the gas tank into the environment
getChemical Table (ChemicalStack) Get the contents of the chemical tank.
getChemicalCapacity Number (long) Get the capacity of the chemical tank.
getChemicalFilledPercentage Number (double) Get the filled percentage of the chemical tank.
getChemicalItem Table (ItemStack) Get the contents of the secondary input slot.
getChemicalNeeded Number (long) Get the amount needed to fill the chemical tank.
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getInput Table (ItemStack) Get the contents of the input slot.
getOutput Table (ItemStack) Get the contents of the output slot.
Digital Miner
Method Name Params Returns Description
addFilter
filter
Table (MinerFilter)
boolean Add a new filter to the miner. Requires miner to be stopped/reset first
clearInverseModeReplaceTarget Remove the target for Replacement in Inverse Mode. Requires miner to be stopped/reset first
getAutoEject boolean Whether Auto Eject is turned on
getAutoPull boolean Whether Auto Pull is turned on
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getFilters List (Table (MinerFilter)) Get the current list of Miner Filters
getInverseMode boolean Whether Inverse Mode is enabled or not
getInverseModeReplaceTarget String (Item) Get the configured Replacement target item
getInverseModeRequiresReplacement boolean Whether Inverse Mode Require Replacement is turned on
getItemInSlot
slot
Number (int)
Table (ItemStack) Get the contents of the internal inventory slot. 0 based.
getMaxRadius Number (int) Get the maximum allowable Radius value, determined from the mod's config
getMaxY Number (int) Gets the configured maximum Y level for mining
getMinY Number (int) Gets the configured minimum Y level for mining
getRadius Number (int) Get the current radius configured (blocks)
getSilkTouch boolean Whether Silk Touch mode is enabled or not
getSlotCount Number (int) Get the size of the Miner's internal inventory
getState String (State) Get the state of the Miner's search
getToMine Number (int) Get the count of block found but not yet mined
isRunning boolean Whether the miner is currently running
removeFilter
filter
Table (MinerFilter)
boolean Removes the exactly matching filter from the miner. Requires miner to be stopped/reset first
reset Stop the mining process and reset the Miner to be able to change settings
setAutoEject
eject
boolean
Update the Auto Eject setting
setAutoPull
pull
boolean
Update the Auto Pull setting
setInverseMode
enabled
boolean
Update the Inverse Mode setting. Requires miner to be stopped/reset first
setInverseModeReplaceTarget
target
String (Item)
Update the target for Replacement in Inverse Mode. Requires miner to be stopped/reset first
setInverseModeRequiresReplacement
requiresReplacement
boolean
Update the Inverse Mode Requires Replacement setting. Requires miner to be stopped/reset first
setMaxY
maxY
Number (int)
Update the maximum Y level for mining. Requires miner to be stopped/reset first
setMinY
minY
Number (int)
Update the minimum Y level for mining. Requires miner to be stopped/reset first
setRadius
radius
Number (int)
Update the mining radius (blocks). Requires miner to be stopped/reset first
setSilkTouch
silk
boolean
Update the Silk Touch setting
start Attempt to start the mining process
stop Attempt to stop the mining process
Dimensional Stabilizer
Method Name Params Returns Description
disableChunkLoadingFor
radius
Number (int)
Sets the chunks in the specified radius to not be kept loaded. The chunk the Stabilizer is in is always loaded. Range: [1, 2]
enableChunkLoadingFor
radius
Number (int)
Sets the chunks in the specified radius to be loaded. The chunk the Stabilizer is in is always loaded. Range: [1, 2]
getChunksLoaded Number (int) Get the number of chunks being loaded.
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
isChunkLoadingAt
x
Number (int)
z
Number (int)
boolean Check if the Dimensional Stabilizer is configured to load a the specified relative chunk position at x,y (Stabilizer is at 0,0). Range: [-2, 2]
setChunkLoadingAt
x
Number (int)
z
Number (int)
load
boolean
Set if the Dimensional Stabilizer is configured to load a the specified relative position (Stabilizer is at 0,0). True = load the chunk, false = don't load the chunk. Range: [-2, 2]
toggleChunkLoadingAt
x
Number (int)
z
Number (int)
Toggle loading the specified relative chunk at the relative x,y position (Stabilizer is at 0,0). Just like clicking the button in the GUI. Range: [-2, 2]
Diversion Transporter
Method Name Params Returns Description
decrementMode
side
String (Direction)
getMode
side
String (Direction)
String (DiversionControl)
incrementMode
side
String (Direction)
setMode
side
String (Direction)
mode
String (DiversionControl)
Dynamic Tank Multiblock (formed)
Method Name Params Returns Description
decrementContainerEditMode
getChemicalTankCapacity Number (long)
getContainerEditMode String (ContainerEditMode)
getFilledPercentage Number (double)
getInputItem Table (ItemStack) Get the contents of the input slot.
getOutputItem Table (ItemStack) Get the contents of the output slot.
getStored Table (ChemicalStack) or Table (FluidStack)
getTankCapacity Number (int)
incrementContainerEditMode
setContainerEditMode
mode
String (ContainerEditMode)
Electric Machine
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getInput Table (ItemStack) Get the contents of the input slot.
getOutput Table (ItemStack) Get the contents of the output slot.
Electric Pump
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getFluid Table (FluidStack) Get the contents of the buffer tank.
getFluidCapacity Number (int) Get the capacity of the buffer tank.
getFluidFilledPercentage Number (double) Get the filled percentage of the buffer tank.
getFluidNeeded Number (int) Get the amount needed to fill the buffer tank.
getInputItem Table (ItemStack) Get the contents of the input slot.
getOutputItem Table (ItemStack) Get the contents of the output slot.
reset
Electrolytic Separator
Method Name Params Returns Description
decrementLeftOutputDumpingMode
decrementRightOutputDumpingMode
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getInput Table (FluidStack) Get the contents of the input tank.
getInputCapacity Number (int) Get the capacity of the input tank.
getInputFilledPercentage Number (double) Get the filled percentage of the input tank.
getInputItem Table (ItemStack) Get the contents of the input item slot.
getInputNeeded Number (int) Get the amount needed to fill the input tank.
getLeftOutput Table (ChemicalStack) Get the contents of the left output tank.
getLeftOutputCapacity Number (long) Get the capacity of the left output tank.
getLeftOutputDumpingMode String (GasMode)
getLeftOutputFilledPercentage Number (double) Get the filled percentage of the left output tank.
getLeftOutputItem Table (ItemStack) Get the contents of the left output item slot.
getLeftOutputNeeded Number (long) Get the amount needed to fill the left output tank.
getRightOutput Table (ChemicalStack) Get the contents of the right output tank.
getRightOutputCapacity Number (long) Get the capacity of the right output tank.
getRightOutputDumpingMode String (GasMode)
getRightOutputFilledPercentage Number (double) Get the filled percentage of the right output tank.
getRightOutputItem Table (ItemStack) Get the contents of the right output item slot.
getRightOutputNeeded Number (long) Get the amount needed to fill the right output tank.
incrementLeftOutputDumpingMode
incrementRightOutputDumpingMode
setLeftOutputDumpingMode
mode
String (GasMode)
setRightOutputDumpingMode
mode
String (GasMode)
Energy Cube
Method Name Params Returns Description
getChargeItem Table (ItemStack) Get the contents of the charge slot.
getDischargeItem Table (ItemStack) Get the contents of the discharge slot.
Factory Machine
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getInput
process
Number (int)
Table (ItemStack)
getOutput
process
Number (int)
Table (ItemStack)
getRecipeProgress
process
Number (int)
Number (int)
getTicksRequired Number (int) Total number of ticks it takes currently for the recipe to complete
isAutoSortEnabled boolean
setAutoSort
enabled
boolean
Filter Wrapper
Method Name Params Returns Description
getFilterType String (FilterType)
isEnabled boolean
setEnabled
enabled
boolean
Filter Wrapper (Digital Miner)
Method Name Params Returns Description
clone Table (MinerFilter)
getReplaceTarget String (Item)
getRequiresReplacement boolean
hasBlacklistedElement boolean
setReplaceTarget
value
String (Item)
setRequiresReplacement
value
boolean
Filter Wrapper (ItemStack)
Method Name Params Returns Description
getItemStack Table (ItemStack)
setItem
item
String (Item)
setItemStack
stack
Table (ItemStack)
Filter Wrapper (Logistical Sorter)
Method Name Params Returns Description
clone Table (SorterFilter)
getAllowDefault boolean
getColor String (EnumColor)
getMax Number (int)
getMin Number (int)
getSizeMode boolean
setAllowDefault
value
boolean
setColor
value
String (EnumColor)
setMinMax
min
Number (int)
max
Number (int)
setSizeMode
value
boolean
Filter Wrapper (Mod Id)
Method Name Params Returns Description
getModID String
setModID
id
String
Filter Wrapper (Oredictionificator Item)
Method Name Params Returns Description
getSelectedOutput String (Item)
setSelectedOutput
item
String (Item)
Filter Wrapper (Oredictionificator)
Method Name Params Returns Description
clone Table (OredictionificatorFilter)
getFilter String
setFilter
tag
String (ResourceLocation)
Filter Wrapper (QIO)
Method Name Params Returns Description
clone Table (QIOFilter)
Filter Wrapper (Tag)
Method Name Params Returns Description
getTagName String
setTagName
name
String
Fission Reactor Logic Adapter
Method Name Params Returns Description
getLogicMode String (FissionReactorLogic)
getRedstoneLogicStatus String (RedstoneStatus)
setLogicMode
logicType
String (FissionReactorLogic)
Fission Reactor Multiblock (formed)
Method Name Params Returns Description
activate Must be disabled, and if meltdowns are disabled must not have been force disabled
getActualBurnRate Number (double) Actual burn rate as it may be lower if say there is not enough fuel
getBoilEfficiency Number (double)
getBurnRate Number (double) Configured burn rate
getCoolant Table (ChemicalStack) or Table (FluidStack)
getCoolantCapacity Number (long)
getCoolantFilledPercentage Number (double)
getCoolantNeeded Number (long)
getDamagePercent Number (long)
getEnvironmentalLoss Number (double)
getFuel Table (ChemicalStack) Get the contents of the fuel tank.
getFuelAssemblies Number (int)
getFuelCapacity Number (long) Get the capacity of the fuel tank.
getFuelFilledPercentage Number (double) Get the filled percentage of the fuel tank.
getFuelNeeded Number (long) Get the amount needed to fill the fuel tank.
getFuelSurfaceArea Number (int)
getHeatCapacity Number (double)
getHeatedCoolant Table (ChemicalStack) Get the contents of the heated coolant.
getHeatedCoolantCapacity Number (long) Get the capacity of the heated coolant.
getHeatedCoolantFilledPercentage Number (double) Get the filled percentage of the heated coolant.
getHeatedCoolantNeeded Number (long) Get the amount needed to fill the heated coolant.
getHeatingRate Number (long)
getMaxBurnRate Number (long)
getStatus boolean true -> active, false -> off
getTemperature Number (double) Get the temperature of the reactor in Kelvin.
getWaste Table (ChemicalStack) Get the contents of the waste tank.
getWasteCapacity Number (long) Get the capacity of the waste tank.
getWasteFilledPercentage Number (double) Get the filled percentage of the waste tank.
getWasteNeeded Number (long) Get the amount needed to fill the waste tank.
isForceDisabled boolean
scram Must be enabled
setBurnRate
rate
Number (double)
Fission Reactor Port
Method Name Params Returns Description
decrementMode
getMode String (FissionPortMode)
incrementMode
setMode
mode
String (FissionPortMode)
Fluid Tank
Method Name Params Returns Description
decrementContainerEditMode
getCapacity Number (int) Get the capacity of the tank.
getContainerEditMode String (ContainerEditMode)
getFilledPercentage Number (double) Get the filled percentage of the tank.
getInputItem Table (ItemStack) Get the contents of the input slot.
getNeeded Number (int) Get the amount needed to fill the tank.
getOutputItem Table (ItemStack) Get the contents of the output slot.
getStored Table (FluidStack) Get the contents of the tank.
incrementContainerEditMode
setContainerEditMode
mode
String (ContainerEditMode)
Fluidic Plenisher
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getFluid Table (FluidStack) Get the contents of the buffer tank.
getFluidCapacity Number (int) Get the capacity of the buffer tank.
getFluidFilledPercentage Number (double) Get the filled percentage of the buffer tank.
getFluidNeeded Number (int) Get the amount needed to fill the buffer tank.
getInputItem Table (ItemStack) Get the contents of the input slot.
getOutputItem Table (ItemStack) Get the contents of the output slot.
reset
Formulaic Assemblicator
Method Name Params Returns Description
craftAvailableItems Requires recipe and auto mode to be disabled
craftSingleItem Requires recipe and auto mode to be disabled
emptyGrid Requires auto mode to be disabled
encodeFormula Requires an unencoded formula in the formula slot and a valid recipe
fillGrid Requires auto mode to be disabled
getAutoMode boolean Requires valid encoded formula
getCraftingInputSlot
slot
Number (int)
Table (ItemStack)
getCraftingOutputSlot
slot
Number (int)
Table (ItemStack)
getCraftingOutputSlots Number (int)
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getExcessRemainingItems List (Table (ItemStack))
getFormulaItem Table (ItemStack) Get the contents of the formula slot.
getItemInSlot
slot
Number (int)
Table (ItemStack)
getRecipeProgress Number (int)
getSlots Number (int)
getStockControl boolean Requires valid encoded formula
getTicksRequired Number (int)
hasRecipe boolean
hasValidFormula boolean
setAutoMode
mode
boolean
Requires valid encoded formula
setStockControl
mode
boolean
Requires valid encoded formula
Fuelwood Heater
Method Name Params Returns Description
getEnvironmentalLoss Number (double)
getFuelItem Table (ItemStack) Get the contents of the fuel slot.
getTemperature Number (double) Get the temperature of the heater in Kelvin.
getTransferLoss Number (double)
Fusion Reactor Logic Adapter
Method Name Params Returns Description
getLogicMode String (FusionReactorLogic)
isActiveCooledLogic boolean
setActiveCooledLogic
active
boolean
setLogicMode
logicType
String (FusionReactorLogic)
Fusion Reactor Multiblock (formed)
Method Name Params Returns Description
getCaseTemperature Number (double)
getDTFuel Table (ChemicalStack) Get the contents of the fuel tank.
getDTFuelCapacity Number (long) Get the capacity of the fuel tank.
getDTFuelFilledPercentage Number (double) Get the filled percentage of the fuel tank.
getDTFuelNeeded Number (long) Get the amount needed to fill the fuel tank.
getDeuterium Table (ChemicalStack) Get the contents of the deuterium tank.
getDeuteriumCapacity Number (long) Get the capacity of the deuterium tank.
getDeuteriumFilledPercentage Number (double) Get the filled percentage of the deuterium tank.
getDeuteriumNeeded Number (long) Get the amount needed to fill the deuterium tank.
getEnvironmentalLoss Number (double)
getHohlraum Table (ItemStack) Get the contents of the Hohlraum slot.
getIgnitionTemperature
active
boolean
Number (double) true -> water cooled, false -> air cooled
getInjectionRate Number (int)
getMaxCasingTemperature
active
boolean
Number (double) true -> water cooled, false -> air cooled
getMaxPlasmaTemperature
active
boolean
Number (double) true -> water cooled, false -> air cooled
getMinInjectionRate
active
boolean
Number (int) true -> water cooled, false -> air cooled
getPassiveGeneration
active
boolean
Number (long)
getPlasmaTemperature Number (double)
getProductionRate Number (long)
getSteam Table (ChemicalStack) Get the contents of the steam tank.
getSteamCapacity Number (long) Get the capacity of the steam tank.
getSteamFilledPercentage Number (double) Get the filled percentage of the steam tank.
getSteamNeeded Number (long) Get the amount needed to fill the steam tank.
getTransferLoss Number (double)
getTritium Table (ChemicalStack) Get the contents of the tritium tank.
getTritiumCapacity Number (long) Get the capacity of the tritium tank.
getTritiumFilledPercentage Number (double) Get the filled percentage of the tritium tank.
getTritiumNeeded Number (long) Get the amount needed to fill the tritium tank.
getWater Table (FluidStack) Get the contents of the water tank.
getWaterCapacity Number (int) Get the capacity of the water tank.
getWaterFilledPercentage Number (double) Get the filled percentage of the water tank.
getWaterNeeded Number (int) Get the amount needed to fill the water tank.
isIgnited boolean Checks if a reaction is occurring.
setInjectionRate
rate
Number (int)
Fusion Reactor Port
Method Name Params Returns Description
getMode boolean true -> output, false -> input
setMode
output
boolean
true -> output, false -> input
Gas Generator
Method Name Params Returns Description
getBurnRate Number (double)
getEnergyItem Table (ItemStack) Get the contents of the energy item slot.
getFuel Table (ChemicalStack) Get the contents of the fuel tank.
getFuelCapacity Number (long) Get the capacity of the fuel tank.
getFuelFilledPercentage Number (double) Get the filled percentage of the fuel tank.
getFuelItem Table (ItemStack) Get the contents of the fuel item slot.
getFuelNeeded Number (long) Get the amount needed to fill the fuel tank.
Generator
Method Name Params Returns Description
getMaxOutput Number (long)
getProductionRate Number (long) Get the amount of energy produced by this generator in the last tick.
Generic Mekanism Machine
Method Name Params Returns Description
getComparatorLevel Number (int)
getDirection String (Direction)
getEnergy Number (long)
getEnergyFilledPercentage Number (double)
getEnergyNeeded Number (long)
getMaxEnergy Number (long)
getRedstoneMode String (RedstoneControl)
setRedstoneMode
type
String (RedstoneControl)
Heat Generator
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy item slot.
getEnvironmentalLoss Number (double)
getFuelItem Table (ItemStack) Get the contents of the fuel item slot.
getLava Table (FluidStack) Get the contents of the lava tank.
getLavaCapacity Number (int) Get the capacity of the lava tank.
getLavaFilledPercentage Number (double) Get the filled percentage of the lava tank.
getLavaNeeded Number (int) Get the amount needed to fill the lava tank.
getTemperature Number (double) Get the temperature of the generator in Kelvin.
getTransferLoss Number (double)
Induction Matrix Multiblock (formed)
Method Name Params Returns Description
getInputItem Table (ItemStack) Get the contents of the input slot.
getInstalledCells Number (int)
getInstalledProviders Number (int)
getLastInput Number (long)
getLastOutput Number (long)
getOutputItem Table (ItemStack) Get the contents of the output slot.
getTransferCap Number (long)
Induction Matrix Port
Method Name Params Returns Description
getMode boolean true -> output, false -> input.
setMode
output
boolean
true -> output, false -> input
Industrial Turbine Multiblock (formed)
Method Name Params Returns Description
decrementDumpingMode
getBlades Number (int)
getCoils Number (int)
getCondensers Number (int)
getDispersers Number (int)
getDumpingMode String (GasMode)
getFlowRate Number (long)
getLastSteamInputRate Number (long)
getMaxFlowRate Number (long)
getMaxProduction Number (long)
getMaxWaterOutput Number (long)
getProductionRate Number (long)
getSteam Table (ChemicalStack) Get the contents of the steam tank.
getSteamCapacity Number (long) Get the capacity of the steam tank.
getSteamFilledPercentage Number (double) Get the filled percentage of the steam tank.
getSteamNeeded Number (long) Get the amount needed to fill the steam tank.
getVents Number (int)
incrementDumpingMode
setDumpingMode
mode
String (GasMode)
Isotopic Centrifuge
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getInput Table (ChemicalStack) Get the contents of the input tank.
getInputCapacity Number (long) Get the capacity of the input tank.
getInputFilledPercentage Number (double) Get the filled percentage of the input tank.
getInputItem Table (ItemStack) Get the contents of the input slot.
getInputNeeded Number (long) Get the amount needed to fill the input tank.
getOutput Table (ChemicalStack) Get the contents of the output tank.
getOutputCapacity Number (long) Get the capacity of the output tank.
getOutputFilledPercentage Number (double) Get the filled percentage of the output tank.
getOutputItem Table (ItemStack) Get the contents of the output slot.
getOutputNeeded Number (long) Get the amount needed to fill the output tank.
Laser
Method Name Params Returns Description
getDiggingPos Table (BlockPos)
Laser Amplifier
Method Name Params Returns Description
getDelay Number (int)
getMaxThreshold Number (long)
getMinThreshold Number (long)
getRedstoneOutputMode String (RedstoneOutput)
setDelay
delay
Number (int)
setMaxThreshold
threshold
Number (long)
setMinThreshold
threshold
Number (long)
setRedstoneOutputMode
mode
String (RedstoneOutput)
Laser Tractor Beam
Method Name Params Returns Description
getItemInSlot
slot
Number (int)
Table (ItemStack)
getSlotCount Number (int)
Logistical Sorter
Method Name Params Returns Description
addFilter
filter
Table (SorterFilter)
boolean
clearDefaultColor
decrementDefaultColor
getAutoMode boolean
getDefaultColor String (EnumColor)
getFilters List (Table (SorterFilter))
incrementDefaultColor
isRoundRobin boolean
isSingle boolean
removeFilter
filter
Table (SorterFilter)
boolean
setAutoMode
value
boolean
setDefaultColor
color
String (EnumColor)
setRoundRobin
value
boolean
setSingle
value
boolean
Machine with Ejector Component
Method Name Params Returns Description
clearInputColor
side
String (RelativeSide)
clearOutputColor
decrementInputColor
side
String (RelativeSide)
decrementOutputColor
getInputColor
side
String (RelativeSide)
String (EnumColor)
getOutputColor String (EnumColor)
hasStrictInput boolean
incrementInputColor
side
String (RelativeSide)
incrementOutputColor
setInputColor
side
String (RelativeSide)
color
String (EnumColor)
setOutputColor
color
String (EnumColor)
setStrictInput
strict
boolean
Machine with Recipe Progress
Method Name Params Returns Description
getRecipeProgress Number (int)
getTicksRequired Number (int)
Machine with Security Component
Method Name Params Returns Description
getOwnerName String
getOwnerUUID String (UUID)
getSecurityMode String (SecurityMode)
Machine with Side Configuration Component
Method Name Params Returns Description
canEject
type
String (TransmissionType)
boolean
decrementMode
type
String (TransmissionType)
side
String (RelativeSide)
getConfigurableTypes List (String (TransmissionType))
getMode
type
String (TransmissionType)
side
String (RelativeSide)
String (DataType)
getSupportedModes
type
String (TransmissionType)
List (String (DataType))
incrementMode
type
String (TransmissionType)
side
String (RelativeSide)
isEjecting
type
String (TransmissionType)
boolean
setEjecting
type
String (TransmissionType)
ejecting
boolean
setMode
type
String (TransmissionType)
side
String (RelativeSide)
mode
String (DataType)
Machine with Upgrade Component
Method Name Params Returns Description
getInstalledUpgrades Table (String (Upgrade) => Number (int))
getSupportedUpgrades List (String (Upgrade))
Mechanical Pipe
Method Name Params Returns Description
getBuffer Table (FluidStack)
getCapacity Number (long)
getFilledPercentage Number (double)
getNeeded Number (long)
Metallurgic Infuser
Method Name Params Returns Description
dumpInfuseType
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getInfuseType Table (ChemicalStack) Get the contents of the infusion buffer.
getInfuseTypeCapacity Number (long) Get the capacity of the infusion buffer.
getInfuseTypeFilledPercentage Number (double) Get the filled percentage of the infusion buffer.
getInfuseTypeItem Table (ItemStack) Get the contents of the infusion (extra) input slot.
getInfuseTypeNeeded Number (long) Get the amount needed to fill the infusion buffer.
getInput Table (ItemStack) Get the contents of the input slot.
getOutput Table (ItemStack) Get the contents of the output slot.
Modification Station
Method Name Params Returns Description
getContainerItem Table (ItemStack) Get the contents of the module holder slot (suit, tool, etc).
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getModuleItem Table (ItemStack) Get the contents of the module slot.
Multiblock
Method Name Params Returns Description
isFormed boolean
Multiblock (formed)
Method Name Params Returns Description
getHeight Number (int)
getLength Number (int)
getMaxPos Table (BlockPos)
getMinPos Table (BlockPos)
getWidth Number (int)
Nutritional Liquifier
Method Name Params Returns Description
getContainerFillItem Table (ItemStack) Get the contents of the fillable container slot.
getContainerOutputItem Table (ItemStack) Get the contents of the filled container output slot.
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getInput Table (ItemStack) Get the contents of the input slot.
getOutput Table (FluidStack) Get the contents of the output tank.
getOutputCapacity Number (int) Get the capacity of the output tank.
getOutputFilledPercentage Number (double) Get the filled percentage of the output tank.
getOutputItem Table (ItemStack) Get the contents of the output slot.
getOutputNeeded Number (int) Get the amount needed to fill the output tank.
Oredictionificator
Method Name Params Returns Description
addFilter
filter
Table (OredictionificatorItemFilter)
boolean
getFilters List (Table (OredictionificatorItemFilter))
getInputItem Table (ItemStack) Get the contents of the input slot.
getOutputItem Table (ItemStack) Get the contents of the output slot.
removeFilter
filter
Table (OredictionificatorItemFilter)
boolean
Painting Machine
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getInputItem Table (ItemStack) Get the contents of the paintable item slot.
getInputPigmentItem Table (ItemStack) Get the contents of the pigment slot.
getOutput Table (ItemStack) Get the contents of the painted item slot.
getPigmentInput Table (ChemicalStack) Get the contents of the pigment tank.
getPigmentInputCapacity Number (long) Get the capacity of the pigment tank.
getPigmentInputFilledPercentage Number (double) Get the filled percentage of the pigment tank.
getPigmentInputNeeded Number (long) Get the amount needed to fill the pigment tank.
Pigment Extractor
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getInput Table (ItemStack) Get the contents of the input slot.
getOutput Table (ChemicalStack) Get the contents of the pigment tank.
getOutputCapacity Number (long) Get the capacity of the pigment tank.
getOutputFilledPercentage Number (double) Get the filled percentage of the pigment tank.
getOutputItem Table (ItemStack) Get the contents of the output slot.
getOutputNeeded Number (long) Get the amount needed to fill the pigment tank.
Pigment Mixer
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getLeftInput Table (ChemicalStack) Get the contents of the left pigment tank.
getLeftInputCapacity Number (long) Get the capacity of the left pigment tank.
getLeftInputFilledPercentage Number (double) Get the filled percentage of the left pigment tank.
getLeftInputItem Table (ItemStack) Get the contents of the left input slot.
getLeftInputNeeded Number (long) Get the amount needed to fill the left pigment tank.
getOutput Table (ChemicalStack) Get the contents of the output pigment tank.
getOutputCapacity Number (long) Get the capacity of the output pigment tank.
getOutputFilledPercentage Number (double) Get the filled percentage of the output pigment tank.
getOutputItem Table (ItemStack) Get the contents of the output slot.
getOutputNeeded Number (long) Get the amount needed to fill the output pigment tank.
getRightInput Table (ChemicalStack) Get the contents of the right pigment tank.
getRightInputCapacity Number (long) Get the capacity of the right pigment tank.
getRightInputFilledPercentage Number (double) Get the filled percentage of the right pigment tank.
getRightInputItem Table (ItemStack) Get the contents of the right input slot.
getRightInputNeeded Number (long) Get the amount needed to fill the right pigment tank.
Precision Sawmill
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getInput Table (ItemStack) Get the contents of the input slot.
getOutput Table (ItemStack) Get the contents of the output slot.
getSecondaryOutput Table (ItemStack) Get the contents of the secondary output slot.
Pressurized Reaction Chamber
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getInputFluid Table (FluidStack) Get the contents of the fluid input.
getInputFluidCapacity Number (int) Get the capacity of the fluid input.
getInputFluidFilledPercentage Number (double) Get the filled percentage of the fluid input.
getInputFluidNeeded Number (int) Get the amount needed to fill the fluid input.
getInputGas Table (ChemicalStack) Get the contents of the gas input.
getInputGasCapacity Number (long) Get the capacity of the gas input.
getInputGasFilledPercentage Number (double) Get the filled percentage of the gas input.
getInputGasNeeded Number (long) Get the amount needed to fill the gas input.
getInputItem Table (ItemStack) Get the contents of the item input slot.
getOutputGas Table (ChemicalStack) Get the contents of the gas output.
getOutputGasCapacity Number (long) Get the capacity of the gas output.
getOutputGasFilledPercentage Number (double) Get the filled percentage of the gas output.
getOutputGasNeeded Number (long) Get the amount needed to fill the gas output.
getOutputItem Table (ItemStack) Get the contents of the item output slot.
Pressurized Tube
Method Name Params Returns Description
getBuffer Table (ChemicalStack)
getCapacity Number (long)
getFilledPercentage Number (double)
getNeeded Number (long)
QIO Dashboard
Method Name Params Returns Description
getCraftingInput
window
Number (int)
slot
Number (int)
Table (ItemStack)
getCraftingOutput
window
Number (int)
Table (ItemStack)
QIO Drive Array
Method Name Params Returns Description
getDrive
slot
Number (int)
Table (ItemStack)
getDriveStatus
slot
Number (int)
String (DriveStatus)
getFrequencyItemCapacity Number (long) Requires a frequency to be selected
getFrequencyItemCount Number (long) Requires a frequency to be selected
getFrequencyItemPercentage Number (double) Requires a frequency to be selected
getFrequencyItemTypeCapacity Number (long) Requires a frequency to be selected
getFrequencyItemTypeCount Number (long) Requires a frequency to be selected
getFrequencyItemTypePercentage Number (double) Requires a frequency to be selected
getSlotCount Number (int)
QIO Exporter
Method Name Params Returns Description
getExportWithoutFilter boolean
isRoundRobin boolean
setExportsWithoutFilter
value
boolean
setRoundRobin
value
boolean
QIO Importer
Method Name Params Returns Description
getImportWithoutFilter boolean
setImportsWithoutFilter
value
boolean
QIO Machine
Method Name Params Returns Description
createFrequency
name
String
Requires frequency to not already exist and for it to be public so that it can make it as the player who owns the block. Also sets the frequency after creation
decrementFrequencyColor Requires a frequency to be selected
getFrequencies List (Table (QIOFrequency)) Lists public frequencies
getFrequency Table (QIOFrequency) Requires a frequency to be selected
getFrequencyColor String (EnumColor) Requires a frequency to be selected
hasFrequency boolean
incrementFrequencyColor Requires a frequency to be selected
setFrequency
name
String
Requires a public frequency to exist
setFrequencyColor
color
String (EnumColor)
Requires a frequency to be selected
QIO Machine with Filter
Method Name Params Returns Description
addFilter
filter
Table (QIOFilter)
boolean
getFilters List (Table (QIOFilter))
removeFilter
filter
Table (QIOFilter)
boolean
QIO Redstone Adapter
Method Name Params Returns Description
clearTargetItem
getFuzzyMode boolean
getTargetItem Table (ItemStack)
getTriggerAmount Number (long)
invertSignal
isInverted boolean
setFuzzyMode
fuzzy
boolean
setSignalInverted
inverted
boolean
setTargetItem
itemName
String (ResourceLocation)
setTriggerAmount
amount
Number (long)
toggleFuzzyMode
Quantum Entangloporter
Method Name Params Returns Description
createFrequency
name
String
Requires frequency to not already exist and for it to be public so that it can make it as the player who owns the block. Also sets the frequency after creation
getBufferChemical Table (ChemicalStack) Get the contents of the chemical buffer.
getBufferChemicalCapacity Number (long) Get the capacity of the chemical buffer.
getBufferChemicalFilledPercentage Number (double) Get the filled percentage of the chemical buffer.
getBufferChemicalNeeded Number (long) Get the amount needed to fill the chemical buffer.
getBufferFluid Table (FluidStack) Get the contents of the fluid buffer.
getBufferFluidCapacity Number (int) Get the capacity of the fluid buffer.
getBufferFluidFilledPercentage Number (double) Get the filled percentage of the fluid buffer.
getBufferFluidNeeded Number (int) Get the amount needed to fill the fluid buffer.
getBufferItem Table (ItemStack)
getEnvironmentalLoss Number (double) May not be accurate if there is no frequency
getFrequencies List (Table (InventoryFrequency)) Lists public frequencies
getFrequency Table (InventoryFrequency) Requires a frequency to be selected
getTemperature Number (double) Requires a frequency to be selected
getTransferLoss Number (double) May not be accurate if there is no frequency
hasFrequency boolean
setFrequency
name
String
Requires a public frequency to exist
Radioactive Waste Barrel
Method Name Params Returns Description
getCapacity Number (long) Get the capacity of the barrel.
getFilledPercentage Number (double) Get the filled percentage of the barrel.
getNeeded Number (long) Get the amount needed to fill the barrel.
getStored Table (ChemicalStack) Get the contents of the barrel.
Resistive Heater
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getEnergyUsed Number (long)
getEnvironmentalLoss Number (double)
getTemperature Number (double) Get the temperature of the heater in Kelvin.
getTransferLoss Number (double)
setEnergyUsage
usage
Number (long)
Rotary Condensentrator
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getEnergyUsage Number (long) Get the energy used in the last tick by the machine
getFluid Table (FluidStack) Get the contents of the fluid tank.
getFluidCapacity Number (int) Get the capacity of the fluid tank.
getFluidFilledPercentage Number (double) Get the filled percentage of the fluid tank.
getFluidItemInput Table (ItemStack) Get the contents of the fluid item input slot.
getFluidItemOutput Table (ItemStack) Get the contents of the fluid item ouput slot.
getFluidNeeded Number (int) Get the amount needed to fill the fluid tank.
getGas Table (ChemicalStack) Get the contents of the gas tank.
getGasCapacity Number (long) Get the capacity of the gas tank.
getGasFilledPercentage Number (double) Get the filled percentage of the gas tank.
getGasItemInput Table (ItemStack) Get the contents of the gas item input slot.
getGasItemOutput Table (ItemStack) Get the contents of the gas item output slot.
getGasNeeded Number (long) Get the amount needed to fill the gas tank.
isCondensentrating boolean
setCondensentrating
value
boolean
SPS Multiblock (formed)
Method Name Params Returns Description
getCoils Number (int)
getInput Table (ChemicalStack) Get the contents of the input tank.
getInputCapacity Number (long) Get the capacity of the input tank.
getInputFilledPercentage Number (double) Get the filled percentage of the input tank.
getInputNeeded Number (long) Get the amount needed to fill the input tank.
getOutput Table (ChemicalStack) Get the contents of the output tank.
getOutputCapacity Number (long) Get the capacity of the output tank.
getOutputFilledPercentage Number (double) Get the filled percentage of the output tank.
getOutputNeeded Number (long) Get the amount needed to fill the output tank.
getProcessRate Number (double)
SPS Port
Method Name Params Returns Description
getMode boolean true -> output, false -> input.
setMode
output
boolean
true -> output, false -> input.
Sawing Factory
Method Name Params Returns Description
getSecondaryOutput
process
Number (int)
Table (ItemStack)
Seismic Vibrator
Method Name Params Returns Description
getBlockAt
chunkRelativeX
Number (int)
y
Number (int)
chunkRelativeZ
Number (int)
Table (BlockState)
getColumnAt
chunkRelativeX
Number (int)
chunkRelativeZ
Number (int)
Table (Number (int) => Table (BlockState)) Get a column info, table key is the Y level
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
isVibrating boolean
Solar Generator
Method Name Params Returns Description
canSeeSun boolean
getEnergyItem Table (ItemStack) Get the contents of the energy item slot.
Solar Neutron Activator
Method Name Params Returns Description
canSeeSun boolean
getInput Table (ChemicalStack) Get the contents of the input tank.
getInputCapacity Number (long) Get the capacity of the input tank.
getInputFilledPercentage Number (double) Get the filled percentage of the input tank.
getInputItem Table (ItemStack) Get the contents of the input slot.
getInputNeeded Number (long) Get the amount needed to fill the input tank.
getOutput Table (ChemicalStack) Get the contents of the output tank.
getOutputCapacity Number (long) Get the capacity of the output tank.
getOutputFilledPercentage Number (double) Get the filled percentage of the output tank.
getOutputItem Table (ItemStack) Get the contents of the output slot.
getOutputNeeded Number (long) Get the amount needed to fill the output tank.
getPeakProductionRate Number (float)
getProductionRate Number (float)
Teleporter
Method Name Params Returns Description
createFrequency
name
String
Requires frequency to not already exist and for it to be public so that it can make it as the player who owns the block. Also sets the frequency after creation
decrementFrequencyColor Requires a frequency to be selected
getActiveTeleporters List (Table (GlobalPos)) Requires a frequency to be selected
getEnergyItem Table (ItemStack) Get the contents of the energy slot.
getFrequencies List (Table (TeleporterFrequency)) Lists public frequencies
getFrequency Table (TeleporterFrequency) Requires a frequency to be selected
getFrequencyColor String (EnumColor) Requires a frequency to be selected
getStatus String
hasFrequency boolean
incrementFrequencyColor Requires a frequency to be selected
setFrequency
name
String
Requires a public frequency to exist
setFrequencyColor
color
String (EnumColor)
Requires a frequency to be selected
Thermal Evaporation Multiblock (formed)
Method Name Params Returns Description
getActiveSolars Number (int)
getEnvironmentalLoss Number (double)
getInput Table (FluidStack) Get the contents of the input tank.
getInputCapacity Number (int) Get the capacity of the input tank.
getInputFilledPercentage Number (double) Get the filled percentage of the input tank.
getInputItemInput Table (ItemStack) Get the contents of the input side's input slot.
getInputItemOutput Table (ItemStack) Get the contents of the input side's output slot.
getInputNeeded Number (int) Get the amount needed to fill the input tank.
getOutput Table (FluidStack) Get the contents of the output tank.
getOutputCapacity Number (int) Get the capacity of the output tank.
getOutputFilledPercentage Number (double) Get the filled percentage of the output tank.
getOutputItemInput Table (ItemStack) Get the contents of the output side's input slot.
getOutputItemOutput Table (ItemStack) Get the contents of the output side's output slot.
getOutputNeeded Number (int) Get the amount needed to fill the output tank.
getProductionAmount Number (double)
getTemperature Number (double)
Universal Cable
Method Name Params Returns Description
getBuffer Number (long)
getCapacity Number (long)
getFilledPercentage Number (double)
getNeeded Number (long)
Wind Generator
Method Name Params Returns Description
getEnergyItem Table (ItemStack) Get the contents of the energy item slot.
isBlacklistedDimension boolean

Table Types

Fixed String Values

BoilerValveMode
  • INPUT
  • OUTPUT_COOLANT
  • OUTPUT_STEAM
ContainerEditMode
  • BOTH
  • EMPTY
  • FILL
DataType
  • ENERGY
  • EXTRA
  • INPUT
  • INPUT_1
  • INPUT_2
  • INPUT_OUTPUT
  • NONE
  • OUTPUT
  • OUTPUT_1
  • OUTPUT_2
Direction
  • DOWN
  • EAST
  • NORTH
  • SOUTH
  • UP
  • WEST
DiversionControl
  • DISABLED
  • HIGH
  • LOW
DriveStatus
  • FULL
  • NEAR_FULL
  • NONE
  • OFFLINE
  • READY
EnumColor
  • AQUA
  • BLACK
  • BRIGHT_GREEN
  • BRIGHT_PINK
  • BROWN
  • DARK_AQUA
  • DARK_BLUE
  • DARK_GRAY
  • DARK_GREEN
  • DARK_RED
  • GRAY
  • INDIGO
  • ORANGE
  • PINK
  • PURPLE
  • RED
  • WHITE
  • YELLOW
FilterType
  • MINER_ITEMSTACK_FILTER
  • MINER_MODID_FILTER
  • MINER_TAG_FILTER
  • OREDICTIONIFICATOR_ITEM_FILTER
  • QIO_ITEMSTACK_FILTER
  • QIO_MODID_FILTER
  • QIO_TAG_FILTER
  • SORTER_ITEMSTACK_FILTER
  • SORTER_MODID_FILTER
  • SORTER_TAG_FILTER
FissionPortMode
  • INPUT
  • OUTPUT_COOLANT
  • OUTPUT_WASTE
FissionReactorLogic
  • ACTIVATION
  • CRITICAL_WASTE_LEVEL
  • DAMAGED
  • DEPLETED
  • DISABLED
  • TEMPERATURE
FusionReactorLogic
  • CAPACITY
  • DEPLETED
  • DISABLED
  • READY
GasMode
  • DUMPING
  • DUMPING_EXCESS
  • IDLE
RedstoneControl
  • DISABLED
  • HIGH
  • LOW
  • PULSE
RedstoneOutput
  • ENERGY_CONTENTS
  • ENTITY_DETECTION
  • OFF
RedstoneStatus
  • IDLE
  • OUTPUTTING
  • POWERED
RelativeSide
  • BACK
  • BOTTOM
  • FRONT
  • LEFT
  • RIGHT
  • TOP
SecurityMode
  • PRIVATE
  • PUBLIC
  • TRUSTED
State
  • FINISHED
  • IDLE
  • PAUSED
  • SEARCHING
TransmissionType
  • CHEMICAL
  • ENERGY
  • FLUID
  • HEAT
  • ITEM
Upgrade
  • ANCHOR
  • CHEMICAL
  • ENERGY
  • FILTER
  • MUFFLING
  • SPEED
  • STONE_GENERATOR