protection.json
0 B
Empty File
{
"anvil_cost": 1,
"description": {
"translate": "enchantment.minecraft.protection"
},
"effects": {
"minecraft:damage_protection": [
{
"effect": {
"type": "minecraft:add",
"value": {
"type": "minecraft:linear",
"base": 1.0,
"per_level_above_first": 1.0
}
},
"requirements": {
"condition": "minecraft:damage_source_properties",
"predicate": {
"tags": [
{
"expected": false,
"id": "minecraft:bypasses_invulnerability"
}
]
}
}
}
]
},
"exclusive_set": "#minecraft:exclusive_set/armor",
"max_cost": {
"base": 12,
"per_level_above_first": 11
},
"max_level": 4,
"min_cost": {
"base": 1,
"per_level_above_first": 11
},
"slots": [
"armor"
],
"supported_items": "#minecraft:enchantable/armor",
"weight": 10
}