Download Enchantment Limiter — Minecraft Mods — MetaMods

Enchantment Limiter

Active

Downloads

0

Last update

2 years ago
Client
Weapons and armor
Utils

Enchantment Limiter

Enchantment Limits for Items

This mod introduces a system of enchantment limits for every enchantable item. By default, each item receives a limit of 10+(enchantability/2) points (rounded down). Every enchantment consumes a certain amount of these points, and you won't be able to add new enchantments if they exceed the established limit.

Flexible System Configuration

You can configure the base capacity of enchantment points depending on the item's enchantability, change the base enchantment pool, and set special exceptions for specific items. The number of points that each enchantment consumes at different levels is also configurable.

Enchantment Application Features

During an anvil operation when multiple enchantments with different costs are applied, the system adds enchantment levels sequentially from top to bottom until the limit is reached. Enchantments with negative cost (such as curses) are applied before enchantments with positive cost. This allows you to add more enchantments to an item if you're willing to accept the consequences of curses.

System Operation Example

Suppose you want to enchant a bow with a book containing Power V, Punch II, and Infinity. With the settings: bow has 10 points, Power costs 4 points per level, Punch costs 2 points per level, Infinity costs 1 point per level:

Power will increase to level II and stop, as the bow will have only 2 enchantment points left. Punch will take these two points to add one level, and Infinity won't be added since all 10 of the bow's points are already allocated.

As a result, you'll get a bow with Power II and Punch I.

Project members
TheRealJackiecrazy

TheRealJackiecrazy

Created: 11 Oct 2023

ID: 51518