You've already forked minecraft-assets
Create/Update assets for version 1.21.3
This commit is contained in:
55
data/minecraft/enchantment/thorns.json
Normal file
55
data/minecraft/enchantment/thorns.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"anvil_cost": 8,
|
||||
"description": {
|
||||
"translate": "enchantment.minecraft.thorns"
|
||||
},
|
||||
"effects": {
|
||||
"minecraft:post_attack": [
|
||||
{
|
||||
"affected": "attacker",
|
||||
"effect": {
|
||||
"type": "minecraft:all_of",
|
||||
"effects": [
|
||||
{
|
||||
"type": "minecraft:damage_entity",
|
||||
"damage_type": "minecraft:thorns",
|
||||
"max_damage": 5.0,
|
||||
"min_damage": 1.0
|
||||
},
|
||||
{
|
||||
"type": "minecraft:change_item_damage",
|
||||
"amount": 2.0
|
||||
}
|
||||
]
|
||||
},
|
||||
"enchanted": "victim",
|
||||
"requirements": {
|
||||
"chance": {
|
||||
"type": "minecraft:enchantment_level",
|
||||
"amount": {
|
||||
"type": "minecraft:linear",
|
||||
"base": 0.15,
|
||||
"per_level_above_first": 0.15
|
||||
}
|
||||
},
|
||||
"condition": "minecraft:random_chance"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"max_cost": {
|
||||
"base": 60,
|
||||
"per_level_above_first": 20
|
||||
},
|
||||
"max_level": 3,
|
||||
"min_cost": {
|
||||
"base": 10,
|
||||
"per_level_above_first": 20
|
||||
},
|
||||
"primary_items": "#minecraft:enchantable/chest_armor",
|
||||
"slots": [
|
||||
"any"
|
||||
],
|
||||
"supported_items": "#minecraft:enchantable/armor",
|
||||
"weight": 1
|
||||
}
|
||||
Reference in New Issue
Block a user