Arcane
This mod exposes more of Minecraft's enchanting power system to users by making elements of it more data driven. It is geared towards data pack and mod pack developers alike, though mod developers may also find it useful.
In vanilla Minecraft, you can add entries to the enchantment_power_provider
tag to make them provide power to enchanting tables like bookshelves do (in fact, bookshelves themselves are part of this tag by default). However, this power boost is hard coded to 1 (the same as bookshelves), and it doesn't respect block states, making it inconvenient for certain block types (like candles, which can contain multiple candles in one block space). This can sometimes be - to put it rather bluntly - frustrating.
Arcane offers a solution by adding data driven enchanting power providers, which can be much more flexible in their parameters.
!! You can find more information for developers on the mod's README page. !!
Compatibility:
Server Vs. Client:
Arcane is entirely server-side, so vanilla clients can connect to modded servers with nearly everything functioning as expected. However, enchanting particles from modded power providers will not display on vanilla clients unless they also install the mod.
With Other Mods:
Arcane does not interact in any way with vanilla nor modded enchanting power providers. This decision was made to maintain mod compatibility first and foremost. In addition, the additions to base code are simple and minimal. However, there are a few areas where Arcane may run into compatibility issues, in particular with:
- Mods that affect the enchanting table's detection radius. Arcane mainly relies on vanilla functionality for this, so it may place nicely depending on how responsibly this change was implemented. However, an increased radius may result in some funny business concerning obstruction detection due to how it is calculated (a copy of vanilla's detection system).
- Mods that completely throw out the vanilla enchanting system. It should be obvious why compatibility issues would arise here.
Default Configuration:
By default, Arcane includes a few examples of providers you can play around with both in-game and outside the game to see how they work. These include:
- Blocks that give 0.2 power - soul fire, soul torch, soul lantern
- Blocks that give 1 power - sea lantern, crying obsidian
- Blocks that give 3 power - all vanilla mob heads
- Blocks that give 0.2 power when lit - soul campfire
- Blocks that give 0.25 power for each candle when lit (1 power with 4 candles in 1 block) - candles
- Blocks that give 0.5 power for each book stored (1.5 power for 6 books) - chiseled bookshelf
If you wish to override these, you can overwrite their respective file inside the arcane_test
data space.
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+