Make horse armour enchantable

This commit is contained in:
Sergeant Acoustic 2026-02-22 04:03:07 +00:00
parent 15a9eb258d
commit 132fbf312b
19 changed files with 115 additions and 42 deletions

View file

@ -28,8 +28,9 @@
"per_level_above_first": 10 "per_level_above_first": 10
}, },
"slots": [ "slots": [
"feet" "feet",
"body"
], ],
"supported_items": "#minecraft:enchantable/foot_armor", "supported_items": "#mc_rebalance:enchantable/horse_and_foot_armor",
"weight": 10 "weight": 10
} }

View file

@ -0,0 +1,6 @@
{
"values": [
"#mc_rebalance:enchantable/horse_armor",
"#minecraft:enchantable/armor"
]
}

View file

@ -0,0 +1,6 @@
{
"values": [
"#mc_rebalance:enchantable/horse_armor",
"#minecraft:enchantable/chest_armor"
]
}

View file

@ -0,0 +1,6 @@
{
"values": [
"#mc_rebalance:enchantable/horse_armor",
"#minecraft:enchantable/foot_armor"
]
}

View file

@ -0,0 +1,6 @@
{
"values": [
"#mc_rebalance:enchantable/horse_armor",
"#minecraft:enchantable/head_armor"
]
}

View file

@ -0,0 +1,6 @@
{
"values": [
"#mc_rebalance:enchantable/horse_armor",
"#minecraft:enchantable/leg_armor"
]
}

View file

@ -0,0 +1,5 @@
{
"values": [
"#mc_rebalance:horse_armor"
]
}

View file

@ -0,0 +1,9 @@
{
"values": [
"minecraft:leather_horse_armor",
"minecraft:copper_horse_armor",
"minecraft:iron_horse_armor",
"minecraft:golden_horse_armor",
"minecraft:diamond_horse_armor"
]
}

View file

@ -0,0 +1,5 @@
{
"op": "add",
"path": "/supported_items",
"value": "#mc_rebalance:enchantable/horse_and_armor"
}

View file

@ -0,0 +1,12 @@
[
{
"op": "add",
"path": "/supported_items",
"value": "#mc_rebalance:enchantable/horse_and_foot_armor"
},
{
"op": "add",
"path": "/slots/-",
"value": "body"
}
]

View file

@ -72,6 +72,6 @@
"slots": [ "slots": [
"armor" "armor"
], ],
"supported_items": "#minecraft:enchantable/foot_armor", "supported_items": "#mc_rebalance:enchantable/horse_and_foot_armor",
"weight": 5 "weight": 5
} }

View file

@ -0,0 +1,5 @@
{
"op": "add",
"path": "/supported_items",
"value": "#mc_rebalance:enchantable/horse_and_armor"
}

View file

@ -103,8 +103,9 @@
"per_level_above_first": 10 "per_level_above_first": 10
}, },
"slots": [ "slots": [
"legs" "legs",
"body"
], ],
"supported_items": "#minecraft:enchantable/leg_armor", "supported_items": "#mc_rebalance:enchantable/horse_and_leg_armor",
"weight": 2 "weight": 2
} }

View file

@ -0,0 +1,5 @@
{
"op": "add",
"path": "/supported_items",
"value": "#mc_rebalance:enchantable/horse_and_armor"
}

View file

@ -1,35 +0,0 @@
{
"anvil_cost": 4,
"description": {
"translate": "enchantment.minecraft.respiration"
},
"effects": {
"minecraft:attributes": [
{
"amount": {
"type": "minecraft:linear",
"base": 1.0,
"per_level_above_first": 1.0
},
"attribute": "minecraft:generic.oxygen_bonus",
"id": "minecraft:enchantment.respiration",
"operation": "add_value"
}
]
},
"exclusive_set": "#mc_rebalance:exclusive_set/capability",
"max_cost": {
"base": 40,
"per_level_above_first": 10
},
"max_level": 3,
"min_cost": {
"base": 10,
"per_level_above_first": 10
},
"slots": [
"head"
],
"supported_items": "#minecraft:enchantable/head_armor",
"weight": 2
}

View file

@ -0,0 +1,17 @@
[
{
"op": "add",
"path": "/exclusive_set",
"value": "#mc_rebalance:exclusive_set/capability"
},
{
"op": "add",
"path": "/supported_items",
"value": "#mc_rebalance:enchantable/horse_and_head_armor"
},
{
"op": "add",
"path": "/slots/-",
"value": "body"
}
]

View file

@ -0,0 +1,12 @@
[
{
"op": "add",
"path": "/supported_items",
"value": "#mc_rebalance:enchantable/horse_and_foot_armor"
},
{
"op": "add",
"path": "/slots/-",
"value": "body"
}
]

View file

@ -52,8 +52,9 @@
"per_level_above_first": 20 "per_level_above_first": 20
}, },
"slots": [ "slots": [
"chest" "chest",
"body"
], ],
"supported_items": "#minecraft:enchantable/chest_armor", "supported_items": "#mc_rebalance:enchantable/horse_and_chest_armor",
"weight": 1 "weight": 1
} }

View file

@ -0,0 +1,5 @@
{
"values": [
"#mc_rebalance:horse_armor"
]
}