
Matrix Enchanting
Puzzle-based enchanting for Fabric, porting Quark Oddities' Matrix Enchanting with piece placement, merging, and candle-based influence.
Matrix Enchanting
Matrix Enchanting is a Fabric port of Quark Oddities' matrix enchanting system, replacing the vanilla enchanting table with a piece-based board where you build enchantments by hand.

Instead of rolling an enchantment all at once, you generate pieces with lapis and experience, place them on a 5x5 board, rotate them to fit, and merge matching pieces to upgrade them.
The item keeps its unfinished matrix, so you can come back later instead of finishing everything in one session.
Requires Fabric Loader and Fabric API
Features
- Works with enchantable items and books
- Matrix board with piece generation, placement, rotation, and merging
- Output preview before you commit to the final item
- Lapis charge system and bookshelf-based progression
- Candle influences that bias specific enchantment rolls
- Data-driven candle influence definitions through datapacks
- Automatic conversion when interacting with a vanilla enchanting table
- Pending enchantment tooltips on unfinished items
Candle Influences
Different candle colors can boost or dampen specific enchantments. Those mappings are loaded from data files, so packs can customize them without code changes.
How It Works
- Insert an enchantable item or a book.
- Add lapis to power piece generation.
- Use the
+button to generate enchantment pieces. - Place pieces on the board to assemble your final enchantments.
- Rotate or merge pieces as needed.
- Take the output once the matrix contains the enchantments you want.
Controls
- Left click a piece in the side list to select it
- Left click an empty cell to place the selected piece
- Left click a placed piece to remove it
- Right click a selected piece to rotate it
- Click a matching piece onto another to merge and upgrade it
Gallery

Building enchantments on the matrix board.

Unfinished items keep their pending matrix progress.

Matching pieces can be merged to upgrade enchantments.
Credits
- Original Matrix Enchanting concept, code, and layout by Vazkii and Quark contributors
- Ported to Fabric for this project
