Convert unbreaking into a patch
This commit is contained in:
parent
132fbf312b
commit
3c6418862b
|
|
@ -1,76 +0,0 @@
|
|||
{
|
||||
"anvil_cost": 2,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.unbreaking"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:item_damage": [
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:remove_binomial",
|
||||
"chance": {
|
||||
"type": "minecraft:fraction",
|
||||
"denominator": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 10.0,
|
||||
"per_level_above_first": 5.0
|
||||
},
|
||||
"numerator": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 2.0,
|
||||
"per_level_above_first": 2.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"items": "#minecraft:enchantable/armor"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"effect": {
|
||||
"type": "minecraft:remove_binomial",
|
||||
"chance": {
|
||||
"type": "minecraft:fraction",
|
||||
"denominator": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 2.0,
|
||||
"per_level_above_first": 1.0
|
||||
},
|
||||
"numerator": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 1.0,
|
||||
"per_level_above_first": 1.0
|
||||
}
|
||||
}
|
||||
},
|
||||
"requirements": {
|
||||
"condition": "minecraft:inverted",
|
||||
"term": {
|
||||
"condition": "minecraft:match_tool",
|
||||
"predicate": {
|
||||
"items": "#minecraft:enchantable/armor"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"exclusive_set": "#mc_rebalance:exclusive_set/durability",
|
||||
"max_cost": {
|
||||
"base": 55,
|
||||
"per_level_above_first": 8
|
||||
},
|
||||
"max_level": 3,
|
||||
"min_cost": {
|
||||
"base": 5,
|
||||
"per_level_above_first": 8
|
||||
},
|
||||
"slots": [
|
||||
"any"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/durability",
|
||||
"weight": 5
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"op": "add",
|
||||
"path": "/exclusive_set",
|
||||
"value": "#mc_rebalance:exclusive_set/durability"
|
||||
}
|
||||
Loading…
Reference in a new issue