config.yml and block numbers
Mekanized's numbers live in three places:
| What | Where | Applies |
|---|---|---|
| World-wide rules (radiation, teleporters, chunk loadingβ¦) | plugins/Mekanized/config.yml | Restart |
| A block's or an item's own numbers (capacities, rates, costs) | Its CraftEngine config, plugins/CraftEngine/resources/mekanized/configuration/ | /ce reload |
| Recipes (durations, energy per tick, inputs, outputs) | plugins/MachineEngine/definitions/mekanized/recipes_*.yml | /machineengine reload recipes |
Crafting recipes are CraftEngine's, in the recipes_*.yml files under
plugins/CraftEngine/resources/mekanized/. The Energized Smelter uses every
furnace recipe of the server, datapacks included.
config.ymlβ
The defaults are Mekanism's. A key you leave out keeps its default; a value out of range is moved to the nearest allowed one, with a warning (the file keeps what you wrote, for you to fix). New settings are added at the next start. Restart to apply changes.
teleporterβ
The teleporter and the portable teleporter (and the Meka-Tool's teleportation unit).
| Setting | Default | Meaning |
|---|---|---|
base-cost | 1000 | Joules of any teleport. |
cost-per-block | 10 | Joules more per block travelled in one world. |
other-world-cost | 100000 | Joules of a teleport to another world (distance does not count). |
cooldown-seconds | 3.0 | Seconds a player waits between two teleports (0 β 3600). |
chunk-loadingβ
| Setting | Default | Meaning |
|---|---|---|
max-radius | 2 | Chunks around its own a Dimensional Stabilizer can load (0 β 8); 2 is 5 Γ 5. |
Anchor upgrades always load only the machine's own chunk, for free.
radiationβ
In Sieverts (Sv) and Sv/h.
| Setting | Default | Meaning |
|---|---|---|
background | 1e-7 | Sv/h everywhere. |
source-decay-per-second | 0.995 | A released source keeps this much of its strength each second (half-life about 2.3 minutes). |
min-source | 1e-6 | Sv/h below which a source is forgotten. |
dose-decay-per-second | 0.999 | A player's dose keeps this much each second (half-life about 11 minutes). |
sickness-dose | 1 | Sv from which players get hungry. |
damage-dose | 10 | Sv from which players get nauseous, weak and hurt. |
lethal-dose | 100 | Sv from which every second does heavy damage. |
digital-minerβ
| Setting | Default | Meaning |
|---|---|---|
scan-per-tick | 2048 | Positions it looks at per tick for the next block to mine. |
max-radius | 32 | Widest radius (1 β 128); 32 is a 65 Γ 65 area. |
qioβ
| Setting | Default | Meaning |
|---|---|---|
array-kinds | 1024 | Kinds of item a drive array holds at most, whatever its drives (1 β 16384). |
colorsβ
Menu colors of chemicals and fluids: a resource (steam, or fluid/brine for a
fluid) to "#RRGGBB". Empty (the default): Mekanism's colors.
colors: # example values, not the defaults
steam: '#E8E8E8'
fluid/brine: '#FEEF9C'
Block numbersβ
Each block keeps its own numbers in its CraftEngine block config, under
behavior: β MachineEngine's
per-block numbers.
After editing, /ce reload applies them to placed machines and cables too.
| Blocks | Keys | File (factory) |
|---|---|---|
| Universal cables | rate (per tick) | machines.yml (config_factory#energy_transports) |
| Pressurized tubes, mechanical pipes | rate | chemistry.yml (#chemistry_transports) |
| Logistical transporters | rate (items every 10 ticks) | logistics.yml (#item_transports) |
| Thermodynamic conductors | rate | reactors.yml (#heat_transports) |
| Bins | storages: { items: { capacity } } | utility.yml (#bins) |
| Energy cubes | storages:, ports: { out: { rate } } | machines.yml (#energy_cubes) |
| Fluid tanks, chemical tanks | storages:, ports: { out: { rate } } | chemistry.yml (#fluid_tanks, #chemical_tanks) |
| Chargepad | options: { charge-per-tick } (J per player per tick) | |
| Heat, bio, solar, advanced solar generators | options: { energy-per-tick } | |
| Wind generator | options: { max-energy-per-tick } | |
| Electric pump | options: { energy, ticks, range, heavy-water-per-block } | |
| Fluidic plenisher, formulaic assemblicator | options: { energy, ticks } (plenisher also range) | |
| Nutritional liquifier | options: { ticks, energy-per-tick } | |
| Fuelwood heater | options: { heat-per-tick } | |
| Seismic vibrator | options: { energy-per-tick } | |
| Lasers | options: { energy-per-tick, range, energy-per-hardness } | |
| Digital miner | options: { energy-per-block, ticks-per-block } | |
| Dimensional stabilizer | options: { energy-per-chunk } | |
| Modification station | options: { ticks, energy-per-tick, confirm-seconds } | |
| Logistical sorter | options: { every-ticks, stack-size } | |
| QIO importer, exporter | options: { items-per-second } | |
| Radioactive waste barrel | storages: { waste: { capacity } }, options: { decay-per-second } | |
| Multiblocks | options: on the casing that anchors each structure: capacities per block and physics; the induction casing's cell-capacity per tier, the induction port's provider-output | multiblocks.yml, reactors.yml |
Any machine block also takes storages: { <id>: { capacity } } and
ports: { <id>: { rate } } for its own storages and ports;
/machineengine inspect lists a machine's storages.
Reading the block filesβ
template: mekanized:block/display_machine_facing(ormachine,machine_facing_activeβ¦) gives a block its shape. Keys written next to it are that block's own and are merged in:settings: { hardness: 10.0 }next to the template changes only that block.config_factory#<name>:makes a whole family: each row ofinstances:is one block, andblueprint:is written once for all. Edit a row to change one block; edit the blueprint to change the family.- Templates are in
configuration/templates.yml, MachineEngine's inplugins/CraftEngine/resources/machineengine/configuration/templates.yml. Both are rewritten at every start: to change one, copy it under another name.
Item numbersβ
Gear, modules, QIO drives and the gauge dropper keep their numbers in their
CraftEngine item config, under behaviors: (gear.yml, chemistry.yml,
automation.yml). /ce reload applies them.
| Behavior | Items | Keys |
|---|---|---|
machineengine:energy_item | Energy tablet, tools, MekaSuit, free runners | max-energy |
machineengine:resource_item | Jetpacks, flamethrower, scuba tank, canteen, MekaSuit body armor | resource, capacity, fill-from-machines |
mekanized:mining_tool | Atomic disassembler, Meka-Tool | energy-per-block, vein-limit, vein-limit-with-unit, hit-energy, damage, amplified-damage, charged-speed, amplified-speed |
mekanized:meka_tool | Meka-Tool | teleport-range, shear-energy |
mekanized:electric_bow | Electric bow | energy-per-shot |
mekanized:flamethrower | Flamethrower | hydrogen-per-use, damage |
mekanized:jetpack | Jetpacks, MekaSuit body armor | hydrogen-per-tick, thrust, max-speed, walk-speed, sprint-speed, requires-module |
mekanized:scuba_tank | Scuba tank | oxygen-per-refill, mask |
mekanized:fall_absorber | Free runners, MekaSuit boots | energy-per-damage |
mekanized:radiation_shielding | Hazmat suit, MekaSuit | protection (0.25 a piece), requires-module |
mekanized:qio_drive | QIO drives | items, kinds |
mekanized:gauge_dropper | Gauge dropper | capacity (16,000 mB) |
mekanized:module | module_* items | module, max-level, energy, energy-per-level, effect-amplifier, effect-duration, range, pull-speed, step-height, removes-effects, capacity-factor, enchantment, enchantment-level, glider, fits |
Old config.yml keys for numbers that moved to blocks and items (gear.*,
transport.*, dynamic-tank.*, thermal-evaporation.*β¦) are kept in your file
but ignored.