This page explains the various configuration files of the NeoEnchant datapack and how they can be customized to fit your needs.
Introduction
View the linked pages to see available modifications for block or entity lists. For example, if you want to change which blocks Bedrock Breaker can't break, these resources provide the necessary guidance.
Enchantment files are in JSON format and contain several important sections, json is a format that's easy to understand, look at.
Enchantment JSON Content
{
"description": {
"translate": "enchantment.enchantplus.name",
"fallback": "Display Name"
},
"exclusive_set": "#enchantplus:exclusive_set/group",
"supported_items": "#minecraft:enchantable/item_type",
"weight": 8, // Rarity (higher = more common)
"max_level": 5, // Maximum enchantment level
"min_cost": { // Minimum enchanting table cost
"base": 9,
"per_level_above_first": 9
},
"max_cost": { // Maximum enchanting table cost
"base": 21,
"per_level_above_first": 11
},
"anvil_cost": 1, // Additional anvil cost
"slots": ["slot_type"], // Where the enchantment works
"effects": { // What the enchantment does
// Effect definitions...
}
}
Example with Life+
The Life+ enchantment (armor/lifeplus.json) adds extra health to the player. By default, it adds 2 health points (1 heart) per level. And the Content. Here's an example of how to increase the number of hearts per level.