Skip to Content
1robie
Configuration

config.yml and block numbers

Mekanized's config.yml settings, and where each machine's, cable's and item's own numbers are.

Mekanized's numbers live in three places:

WhatWhereApplies
World-wide rules (radiation, teleporters, chunk loading…)plugins/Mekanized/config.ymlRestart
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).

SettingDefaultMeaning
base-cost1000Joules of any teleport.
cost-per-block10Joules more per block travelled in one world.
other-world-cost100000Joules of a teleport to another world (distance does not count).
cooldown-seconds3.0Seconds a player waits between two teleports (0 – 3600).

chunk-loading

SettingDefaultMeaning
max-radius2Chunks 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.

SettingDefaultMeaning
background1e-7Sv/h everywhere.
source-decay-per-second0.995A released source keeps this much of its strength each second (half-life about 2.3 minutes).
min-source1e-6Sv/h below which a source is forgotten.
dose-decay-per-second0.999A player's dose keeps this much each second (half-life about 11 minutes).
sickness-dose1Sv from which players get hungry.
damage-dose10Sv from which players get nauseous, weak and hurt.
lethal-dose100Sv from which every second does heavy damage.

digital-miner

SettingDefaultMeaning
scan-per-tick2048Positions it looks at per tick for the next block to mine.
max-radius32Widest radius (1 – 128); 32 is a 65 Γ— 65 area.

qio

SettingDefaultMeaning
array-kinds1024Kinds 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.

BlocksKeysFile (factory)
Universal cablesrate (per tick)machines.yml (config_factory#energy_transports)
Pressurized tubes, mechanical pipesratechemistry.yml (#chemistry_transports)
Logistical transportersrate (items every 10 ticks)logistics.yml (#item_transports)
Thermodynamic conductorsratereactors.yml (#heat_transports)
Binsstorages: { items: { capacity } }utility.yml (#bins)
Energy cubesstorages:, ports: { out: { rate } }machines.yml (#energy_cubes)
Fluid tanks, chemical tanksstorages:, ports: { out: { rate } }chemistry.yml (#fluid_tanks, #chemical_tanks)
Chargepadoptions: { charge-per-tick } (J per player per tick)
Heat, bio, solar, advanced solar generatorsoptions: { energy-per-tick }
Wind generatoroptions: { max-energy-per-tick }
Electric pumpoptions: { energy, ticks, range, heavy-water-per-block }
Fluidic plenisher, formulaic assemblicatoroptions: { energy, ticks } (plenisher also range)
Nutritional liquifieroptions: { ticks, energy-per-tick }
Fuelwood heateroptions: { heat-per-tick }
Seismic vibratoroptions: { energy-per-tick }
Lasersoptions: { energy-per-tick, range, energy-per-hardness }
Digital mineroptions: { energy-per-block, ticks-per-block }
Dimensional stabilizeroptions: { energy-per-chunk }
Modification stationoptions: { ticks, energy-per-tick, confirm-seconds }
Logistical sorteroptions: { every-ticks, stack-size }
QIO importer, exporteroptions: { items-per-second }
Radioactive waste barrelstorages: { waste: { capacity } }, options: { decay-per-second }
Multiblocksoptions: 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-outputmultiblocks.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 (or machine, 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 of instances: is one block, and blueprint: 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 in plugins/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.

BehaviorItemsKeys
machineengine:energy_itemEnergy tablet, tools, MekaSuit, free runnersmax-energy
machineengine:resource_itemJetpacks, flamethrower, scuba tank, canteen, MekaSuit body armorresource, capacity, fill-from-machines
mekanized:mining_toolAtomic disassembler, Meka-Toolenergy-per-block, vein-limit, vein-limit-with-unit, hit-energy, damage, amplified-damage, charged-speed, amplified-speed
mekanized:meka_toolMeka-Toolteleport-range, shear-energy
mekanized:electric_bowElectric bowenergy-per-shot
mekanized:flamethrowerFlamethrowerhydrogen-per-use, damage
mekanized:jetpackJetpacks, MekaSuit body armorhydrogen-per-tick, thrust, max-speed, walk-speed, sprint-speed, requires-module
mekanized:scuba_tankScuba tankoxygen-per-refill, mask
mekanized:fall_absorberFree runners, MekaSuit bootsenergy-per-damage
mekanized:radiation_shieldingHazmat suit, MekaSuitprotection (0.25 a piece), requires-module
mekanized:qio_driveQIO drivesitems, kinds
mekanized:gauge_dropperGauge droppercapacity (16,000 mB)
mekanized:modulemodule_* itemsmodule, 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.

Last updated on

On this page