Function
Daily exchange
Once per Minecraft day, the circle exchanges blocks in a 5×5 area below it, working downward one layer every ALCHEMICAL_EXCHANGE_BLOCK_CYCLE.
It processes ALCHEMICAL_EXCHANGE_HEIGHT layers. Setting it to 0 disables the exchange.
Each block is exchanged for a random block from the same configured material class. One result is chosen per class for each daily exchange.
Mana
Every matching block considered for replacement costs ALCHEMICAL_EXCHANGE_MANA_COST. The circle first tries nearby compatible Mana Circuits around itself, then the caster's normal personal, gem, and circuit supply. A block is left unchanged when the complete cost cannot be paid.
The caster must be online for the fallback personal supply, but a nearby compatible circuit can power a change while the caster is absent.
Block protection
Mana may still be spent when block protection prevents a replacement.
Exchange classes
The server config groups exchangeable blocks into Dirt, Stone, Metal, Gem, Clay, Wood, Special, Grass, Fluid, and Wildcard classes. Blocks exchange only with entries in the same class.
Entries may use block IDs or block tags. Wildcard can hold an additional custom group.
Configuration
| Setting | Default | Range | Effect |
|---|---|---|---|
ALCHEMICAL_EXCHANGE_BLOCK_CYCLEmahoutsukai-server.tomlexchangealchemical | 20 | 0–100000000 ticks | Interval between Alchemical Exchange layer operations; zero makes its ticking base attempt an operation every tick. |
ALCHEMICAL_EXCHANGE_HEIGHTmahoutsukai-server.tomlexchangealchemical | 5 | 0–100000000 configured layers | Number of 5×5 layers processed below the circle in each daily batch; zero disables layer processing. |
ALCHEMICAL_EXCHANGE_MANA_COSTmahoutsukai-server.tomlexchangealchemical | 16 | 0–100000000 mana per matching block | Mana paid for each matching block whose replacement is attempted. |
ALCHEMICAL_DIRT_CLASSmahoutsukai-server.tomlexchangealchemical | ["minecraft:dirt","minecraft:sand","minecraft:soul_sand","minecraft:snow_block"] | — | Blocks and block tags exchangeable within the Alchemical dirt class. |
ALCHEMICAL_STONE_CLASSmahoutsukai-server.tomlexchangealchemical | ["minecraft:stone","minecraft:ice","minecraft:packed_ice","minecraft:sandstone","minecraft:red_sandstone","minecraft:gravel","minecraft:end_stone","minecraft:purpur_block","minecraft:magma_block","minecraft:netherrack","minecraft:terracotta"] | — | Blocks and block tags exchangeable within the Alchemical stone class. |
ALCHEMICAL_METAL_CLASSmahoutsukai-server.tomlexchangealchemical | ["minecraft:iron_ore","minecraft:gold_ore","minecraft:nether_quartz_ore"] | — | Blocks and block tags exchangeable within the Alchemical metal class. |
ALCHEMICAL_GEM_CLASSmahoutsukai-server.tomlexchangealchemical | ["minecraft:diamond_ore","minecraft:emerald_ore"] | — | Blocks and block tags exchangeable within the Alchemical gem class. |
ALCHEMICAL_CLAY_CLASSmahoutsukai-server.tomlexchangealchemical | ["minecraft:clay","minecraft:coal_ore","minecraft:redstone_ore","minecraft:lapis_ore"] | — | Blocks and block tags exchangeable within the Alchemical clay class. |
ALCHEMICAL_WOOD_CLASSmahoutsukai-server.tomlexchangealchemical | ["minecraft:oak_log","minecraft:birch_log","minecraft:acacia_log","minecraft:jungle_log","minecraft:spruce_log","minecraft:dark_oak_log","minecraft:cactus","minecraft:pumpkin","minecraft:melon","minecraft:brown_mushroom_block","minecraft:red_mushroom_block","minecraft:hay_block","minecraft:nether_wart_block"] | — | Blocks and block tags exchangeable within the Alchemical wood class. |
ALCHEMICAL_SPECIAL_CLASSmahoutsukai-server.tomlexchangealchemical | ["minecraft:prismarine","minecraft:glowstone","minecraft:sea_lantern","minecraft:obsidian","minecraft:slime_block"] | — | Blocks and block tags exchangeable within the Alchemical special class. |
ALCHEMICAL_GRASS_CLASSmahoutsukai-server.tomlexchangealchemical | ["minecraft:grass_block","minecraft:mycelium"] | — | Blocks and block tags exchangeable within the Alchemical grass class. |
ALCHEMICAL_FLUID_CLASSmahoutsukai-server.tomlexchangealchemical | ["minecraft:lava","minecraft:water"] | — | Blocks and block tags exchangeable with one another in Alchemical Exchange's Fluid class. |
ALCHEMICAL_WILDCARD_CLASSmahoutsukai-server.tomlexchangealchemical | [] | — | User-defined exchange class for grouping arbitrary blocks and block tags. |



