Enchantree

Quick rating

Enchantree

No reviews yet

Replaces enchanting table RNG with a tree system to give enchanting a stronger sense of progression.

Magic
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Where It Runs
Server Only

Runs entirely on the server. Also works in singleplayer.

About

Project Details

Type
Mod
License
Creative Commons Attribution Non Commercial Share Alike 4.0 International
Latest Version
1.1.3

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Summary

When enchanting an item, a list of enchanted books will display any compatible enchantments that are accessible from the enchanting table. When apploying, enchantments are applied one level at a time. The cost to apply enchantments increases with each level.

Works best if you disable villager trading or use this mod to limit all enchanted books from villagers to only be level one. This will prevent players from using villagers to bypass the tree entirely.

I tried my best to make this work in all languages without requiring the mod on the client. This forced me to used existing translation keys which may result in some weird translation artifacts.

Example scenario with Looting I selected

Configuration

There are 3 configuration options available for the mod:

maxBookshelves - sets the maximum number of bookshelves that an enchant can require to be applied. Acceptable values are 0-32, Default 18

scaleBookshelfCost - determines how bookshelf cost should be calculated. If true, costs will be scaled to fit within the range 0-maxBookshelves. If false calculated bookshelf requirements will simply be capped at maxBookshelves. Default: true

requireEnchantedBooks - If enabled, the enchanting table will search for enchanted books stored in nearby chiseled bookshelves. Enchantments can only be applied up to the highest level of the book found by the enchanting table. This only works for enchantments that can normally be obtained from the enchanting table. Enchantments such as mending, swift sneak, and soul speed will not become accessible even if a book is provided. If you use this option, I recommend using this mod/datapack to make chiseled bookshelves supply enchanting power like bookshelves.

Details

When a player interacts with an enchanting table they will see the following menu: Enchanting menu

The first open slot is for the item to enchant.

The second open slot is for the lapis.

The bookshelves exist to inform how much enchanting power the table currently has.

When an item is inserted in the menu, the books will be replaced with enchanted books showing the available enchantments for the item. Each enchantment will a cost associated with it in the form of experience levels, lapis lazuli, and the number of bookshelves required to apply it.

Price Calculations & modification

The prices are calculated based on the enchantment definitions.

Level costs are calculated using the formula: (( anvil_cost + min_cost.base + 1 ) + ( levelToApply - 1 )( min_cost.per_level_above_first ))/2

Bookshelf requirements are calculated using the formula: min_cost.base + ( levelToApply - 1 ) * Math.min( min_cost.per_level_above_first / 2, (MAX_BOOKSHELVES - min_cost.base ) / max_level )

Lapis cost is always equal to the level of the enchant being applied (1 lapis for level 1, 2 for level 2, ...).

Using these formulas you may edit the level and bookshelf requirements by creating a datapack to modify the appropriate values for any enchantments you wish.

Screenshots

Gallery

  • Enchanting Item
    Enchanting Item
  • Enchanting Menu
    Enchanting Menu This is how the menu will appear when opened

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works