projectile_protection.json
0 B
Empty File
{
"anvil_cost": 2,
"description": {
"translate": "enchantment.minecraft.projectile_protection"
},
"effects": {
"minecraft:damage_protection": [
{
"effect": {
"type": "minecraft:add",
"value": {
"type": "minecraft:linear",
"base": 2.0,
"per_level_above_first": 2.0
}
},
"requirements": {
"condition": "minecraft:damage_source_properties",
"predicate": {
"tags": [
{
"expected": true,
"id": "minecraft:is_projectile"
},
{
"expected": false,
"id": "minecraft:bypasses_invulnerability"
}
]
}
}
}
]
},
"exclusive_set": "#minecraft:exclusive_set/armor",
"max_cost": {
"base": 9,
"per_level_above_first": 6
},
"max_level": 4,
"min_cost": {
"base": 3,
"per_level_above_first": 6
},
"slots": [
"armor"
],
"supported_items": "#minecraft:enchantable/armor",
"weight": 5
}