Add exclusive_set to all* enchantments

*Excluding (for now):
- Smite
- Soul Speed
- Bane Of Arthropods
- Infinity
- Power
- Punch
- Knockback
- Depth Strider
- Impaling
This commit is contained in:
Sergeant Acoustic 2026-03-12 23:16:50 +00:00
parent 3b3aaa751e
commit ab75f9420f
7 changed files with 58 additions and 71 deletions

View file

@ -1,31 +0,0 @@
{
"anvil_cost": 4,
"description": {
"translate": "enchantment.minecraft.mending"
},
"effects": {
"minecraft:repair_with_xp": [
{
"effect": {
"type": "minecraft:multiply",
"factor": 2.0
}
}
]
},
"exclusive_set": "#mc_rebalance:exclusive_set/durability",
"max_cost": {
"base": 75,
"per_level_above_first": 25
},
"max_level": 1,
"min_cost": {
"base": 25,
"per_level_above_first": 25
},
"slots": [
"any"
],
"supported_items": "#minecraft:enchantable/durability",
"weight": 2
}

View file

@ -0,0 +1,5 @@
{
"op": "add",
"path": "/exclusive_set",
"value": "#mc_rebalance:exclusive_set/durability"
}

View file

@ -1,9 +1,4 @@
[ [
{
"op": "add",
"path": "/exclusive_set",
"value": "#mc_rebalance:exclusive_set/capability"
},
{ {
"op": "add", "op": "add",
"path": "/supported_items", "path": "/supported_items",

View file

@ -1,35 +0,0 @@
{
"anvil_cost": 8,
"description": {
"translate": "enchantment.minecraft.swift_sneak"
},
"effects": {
"minecraft:attributes": [
{
"amount": {
"type": "minecraft:linear",
"base": 0.15,
"per_level_above_first": 0.15
},
"attribute": "minecraft:player.sneaking_speed",
"id": "minecraft:enchantment.swift_sneak",
"operation": "add_value"
}
]
},
"exclusive_set": "#mc_rebalance:exclusive_set/capability",
"max_cost": {
"base": 75,
"per_level_above_first": 25
},
"max_level": 3,
"min_cost": {
"base": 25,
"per_level_above_first": 25
},
"slots": [
"legs"
],
"supported_items": "#minecraft:enchantable/leg_armor",
"weight": 1
}

View file

@ -69,6 +69,49 @@
"worldgen/biome/ice_spikes.json" "worldgen/biome/ice_spikes.json"
] ]
}] }]
},
{
"pack_type": "server_data",
"patch": "utility_enchantment",
"targets": [{
"namespace": ["minecraft"],
"path": [
"enchantment/aqua_affinity.json",
"enchantment/blast_protection.json",
"enchantment/fire_protection.json",
"enchantment/fortune.json",
"enchantment/loyalty.json",
"enchantment/lure.json",
"enchantment/projectile_protection.json",
"enchantment/silk_touch.json"
]
}]
},
{
"pack_type": "server_data",
"patch": "capability_enchantment",
"targets": [{
"namespace": ["minecraft"],
"path": [
"enchantment/breach.json",
"enchantment/channeling.json",
"enchantment/density.json",
"enchantment/efficiency.json",
"enchantment/fire_aspect.json",
"enchantment/flame.json",
"enchantment/looting.json",
"enchantment/luck_of_the_sea.json",
"enchantment/lunge.json",
"enchantment/multishot.json",
"enchantment/piercing.json",
"enchantment/quick_charge.json",
"enchantment/respiration.json",
"enchantment/riptide.json",
"enchantment/sweeping_edge.json",
"enchantment/swift_sneak.json",
"enchantment/wind_burst.json"
]
}]
} }
] ]
}, },

View file

@ -0,0 +1,5 @@
{
"op": "add",
"path": "/exclusive_set",
"value": "#mc_rebalance:exclusive_set/capability"
}

View file

@ -0,0 +1,5 @@
{
"op": "add",
"path": "/exclusive_set",
"value": "#mc_rebalance:exclusive_set/utility"
}