Initial attempt at adding smack enchantment
This commit is contained in:
parent
7af4602c5a
commit
a9240de1b8
|
|
@ -5,5 +5,6 @@
|
||||||
"enchantment.mc_rebalance.whallop.desc": "Massively increases knockback on shovels",
|
"enchantment.mc_rebalance.whallop.desc": "Massively increases knockback on shovels",
|
||||||
"enchantment.mc_rebalance.trowel.desc": "Makes shovels instamine valid blocks",
|
"enchantment.mc_rebalance.trowel.desc": "Makes shovels instamine valid blocks",
|
||||||
"enchantment.mc_rebalance.exploit.desc": "Has the effect of windup and massively reduces attack damage.\nAttacks do more damage against enemies holding a shield or totem.",
|
"enchantment.mc_rebalance.exploit.desc": "Has the effect of windup and massively reduces attack damage.\nAttacks do more damage against enemies holding a shield or totem.",
|
||||||
"enchantment.mc_rebalance.windup.desc": "Replaces attack cooldown with item cooldown"
|
"enchantment.mc_rebalance.windup.desc": "Replaces attack cooldown with item cooldown",
|
||||||
|
"enchantment.mc_rebalance.smack.desc": "Disables elytra on hit. Reduced windup."
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,6 @@
|
||||||
"enchantment.mc_rebalance.clutch": "Clutch",
|
"enchantment.mc_rebalance.clutch": "Clutch",
|
||||||
"enchantment.mc_rebalance.whallop": "Whallop",
|
"enchantment.mc_rebalance.whallop": "Whallop",
|
||||||
"enchantment.mc_rebalance.trowel": "Trowel",
|
"enchantment.mc_rebalance.trowel": "Trowel",
|
||||||
"enchantment.mc_rebalance.exploit": "Exploit"
|
"enchantment.mc_rebalance.exploit": "Exploit",
|
||||||
|
"enchantment.mc_rebalance.smack": "Smack"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,49 @@
|
||||||
|
{
|
||||||
|
"anvil_cost": 5,
|
||||||
|
"description": {
|
||||||
|
"translate": "enchantment.mc_rebalance.smack"
|
||||||
|
},
|
||||||
|
"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": 1.1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"affected": "victim",
|
||||||
|
"enchanted": "attacker",
|
||||||
|
"effect": {
|
||||||
|
"type": "mc_rebalance:smack",
|
||||||
|
"amount": 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"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/shovel",
|
||||||
|
"weight": 10
|
||||||
|
}
|
||||||
|
|
@ -22,6 +22,7 @@
|
||||||
"minecraft:efficiency",
|
"minecraft:efficiency",
|
||||||
"mc_rebalance:trowel",
|
"mc_rebalance:trowel",
|
||||||
"mc_rebalance:whallop",
|
"mc_rebalance:whallop",
|
||||||
|
"mc_rebalance:smack",
|
||||||
"minecraft:luck_of_the_sea"
|
"minecraft:luck_of_the_sea"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,8 @@
|
||||||
"mc_rebalance:stepping",
|
"mc_rebalance:stepping",
|
||||||
"mc_rebalance:trowel",
|
"mc_rebalance:trowel",
|
||||||
"mc_rebalance:whallop",
|
"mc_rebalance:whallop",
|
||||||
"mc_rebalance:exploit"
|
"mc_rebalance:exploit",
|
||||||
|
"mc_rebalance:windup",
|
||||||
|
"mc_rebalance:smack"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue