79 lines
No EOL
1.9 KiB
JSON
79 lines
No EOL
1.9 KiB
JSON
{
|
|
"anvil_cost": 2,
|
|
"description": {
|
|
"translate": "enchantment.minecraft.bane_of_arthropods"
|
|
},
|
|
"effects": {
|
|
"minecraft:damage": [
|
|
{
|
|
"effect": {
|
|
"type": "minecraft:add",
|
|
"value": {
|
|
"type": "minecraft:linear",
|
|
"base": 2.5,
|
|
"per_level_above_first": 2.5
|
|
}
|
|
},
|
|
"requirements": {
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"type": "#minecraft:sensitive_to_bane_of_arthropods"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"minecraft:post_attack": [
|
|
{
|
|
"affected": "victim",
|
|
"effect": {
|
|
"type": "minecraft:apply_mob_effect",
|
|
"max_amplifier": 3.0,
|
|
"max_duration": {
|
|
"type": "minecraft:linear",
|
|
"base": 1.5,
|
|
"per_level_above_first": 0.5
|
|
},
|
|
"min_amplifier": 3.0,
|
|
"min_duration": 1.5,
|
|
"to_apply": "minecraft:slowness"
|
|
},
|
|
"enchanted": "attacker",
|
|
"requirements": {
|
|
"condition": "minecraft:all_of",
|
|
"terms": [
|
|
{
|
|
"condition": "minecraft:entity_properties",
|
|
"entity": "this",
|
|
"predicate": {
|
|
"type": "#minecraft:sensitive_to_bane_of_arthropods"
|
|
}
|
|
},
|
|
{
|
|
"condition": "minecraft:damage_source_properties",
|
|
"predicate": {
|
|
"is_direct": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"exclusive_set": "#minecraft:exclusive_set/damage",
|
|
"max_cost": {
|
|
"base": 25,
|
|
"per_level_above_first": 8
|
|
},
|
|
"max_level": 5,
|
|
"min_cost": {
|
|
"base": 5,
|
|
"per_level_above_first": 8
|
|
},
|
|
"primary_items": "#minecraft:enchantable/sword",
|
|
"slots": [
|
|
"mainhand"
|
|
],
|
|
"supported_items": "#minecraft:enchantable/weapon",
|
|
"weight": 5
|
|
} |