Mekanism Seismic Vibrator Input Source
lua
telem.input.mekanism.seismicVibrator (
peripheralID: string,
categories?: string[] | '*'
)
Mod Dependencies
Requires Mekanism.
See the Usage section for a complete list of the metrics in each category.
Name | Type | Default |
---|---|---|
peripheralID | string | nil |
Peripheral ID of the Seismic Vibrator | ||
categories | string[] | "*" | { "basic" } |
List of metric categories to query. The value lua
|
Usage
lua
local telem = require 'telem'
local backplane = telem.backplane()
:addInput('my_seismicVibrator', telem.input.mekanism.seismicVibrator('right', '*'))
:cycleEvery(5)()
Given a Seismic Vibrator peripheral on the right
side of the computer, this appends the following metrics to the backplane (grouped by category here for clarity):
Basic
Name | Value | Unit |
---|---|---|
mekseismic:energy_filled_percentage | 0.0 - 1.0 |
Energy
Name | Value | Unit |
---|---|---|
mekseismic:energy | 0.0 - inf | FE |
mekseismic:max_energy | 0.0 - inf | FE |
mekseismic:energy_needed | 0.0 - inf | FE |
Storage Mekanism 10.3+
If an active Seismic Vibrator is in a chunk containing non-air blocks, a storage metric is added for each block ID scanned (including the Seismic Vibrator), ignoring air.
Given a chunk with 1 layer of dirt, 2 layers of stone, and 1 layer of bedrock, the following metrics would be added:
Name | Value | Unit |
---|---|---|
storage:mekanism:seismic_vibrator | 1 | item |
storage:minecraft:dirt | 256 | item |
storage:minecraft:stone | 512 | item |
storage:minecraft:bedrock | 256 | item |