You've already forked minecraft-assets
77 lines
1.7 KiB
JSON
77 lines
1.7 KiB
JSON
{
|
|
"anvil_cost": 4,
|
|
"description": {
|
|
"translate": "enchantment.minecraft.fire_aspect"
|
|
},
|
|
"effects": {
|
|
"minecraft:hit_block": [
|
|
{
|
|
"effect": {
|
|
"type": "minecraft:all_of",
|
|
"effects": [
|
|
{
|
|
"type": "minecraft:set_block_properties",
|
|
"properties": {
|
|
"lit": "true"
|
|
},
|
|
"trigger_game_event": "minecraft:block_change"
|
|
},
|
|
{
|
|
"type": "minecraft:damage_item",
|
|
"amount": 1.0
|
|
}
|
|
]
|
|
},
|
|
"requirements": {
|
|
"condition": "minecraft:location_check",
|
|
"predicate": {
|
|
"block": {
|
|
"blocks": "#minecraft:fire_aspect_lightable",
|
|
"state": {
|
|
"lit": "false"
|
|
}
|
|
},
|
|
"fluid": {
|
|
"fluids": "minecraft:empty"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"minecraft:post_attack": [
|
|
{
|
|
"affected": "victim",
|
|
"effect": {
|
|
"type": "minecraft:ignite",
|
|
"duration": {
|
|
"type": "minecraft:linear",
|
|
"base": 4.0,
|
|
"per_level_above_first": 4.0
|
|
}
|
|
},
|
|
"enchanted": "attacker",
|
|
"requirements": {
|
|
"condition": "minecraft:damage_source_properties",
|
|
"predicate": {
|
|
"is_direct": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"max_cost": {
|
|
"base": 60,
|
|
"per_level_above_first": 20
|
|
},
|
|
"max_level": 2,
|
|
"min_cost": {
|
|
"base": 10,
|
|
"per_level_above_first": 20
|
|
},
|
|
"primary_items": "#minecraft:enchantable/sword",
|
|
"slots": [
|
|
"mainhand"
|
|
],
|
|
"supported_items": "#minecraft:enchantable/fire_aspect",
|
|
"weight": 2
|
|
} |