mc_rebalance/src/main/resources/data/mc_rebalance/enchantment/collapse.json

50 lines
1 KiB
JSON

{
"anvil_cost": 5,
"description": {
"translate": "enchantment.mc_rebalance.collapse"
},
"effects": {
"minecraft:attributes": [
{
"amount": 1024,
"attribute": "generic.attack_speed",
"id": "mc_rebalance:enchantment.windup",
"operation": "add_value"
}
],
"minecraft:post_attack": [
{
"affected": "victim",
"enchanted": "attacker",
"effect": {
"type": "mc_rebalance:windup",
"amount": 0.2
}
},
{
"affected": "victim",
"enchanted": "attacker",
"effect": {
"type": "mc_rebalance:collapse",
"amount": 20.0
}
}
]
},
"exclusive_set": "#mc_rebalance:exclusive_set/capability",
"max_cost": {
"base": 51,
"per_level_above_first": 10
},
"max_level": 1,
"min_cost": {
"base": 1,
"per_level_above_first": 10
},
"slots": [
"mainhand"
],
"supported_items": "#mc_rebalance:enchantable/hoe",
"weight": 10
}