Description
## Overview
This add-on automatically detects and removes **Mending** and **Infinity** enchantments from weapons, tools, armor, and enchanted books as soon as they enter a player's inventory.
Instead of deleting the entire item, it only purges the restricted enchantments (Mending & Infinity) while preserving the item itself and any other safe enchantments (such as Unbreaking or Sharpness). Enchanted books containing Mending or Infinity will have those specific enchantments removed, turning into books without the restricted effects.
---
## Features
- **Smart Enchantment Removal:** Removes only Mending and Infinity without destroying your valuable gear.
- **Enchanted Book Support:** Clears Mending/Infinity from enchanted books upon entering the inventory.
- **Non-Destructive:** Retains all other safe enchantments and item durability.
- **Lightweight & High Performance:** Built using the latest Minecraft Scripting API (`@minecraft/server`).
---
## Compatibility
- **Standalone:** Functions completely on its own in any world or server.
- **Optional Add-on for Manual Survival Rules:** Designed as an optional module/rule-extension for **Manual Survival Rules**, allowing you to further customize and rebalance your survival gameplay experience.
---
## Requirements
- Minecraft Bedrock Edition (Latest Version)
- Beta APIs enabled in World Settings (if required by the Scripting API)
