chore: extract compostable, cooking_fuel and use_remainder from data components

This commit is contained in:
Alexander Medvedev committed 2026-09-20 13:30:50 +02:00
1 parent e413623e9d
commit 9bab5ea4f5
10475 files changed
+4585 -1623

No files matched your search

@@ -0,0 +1,43 @@
{
"anvil_cost": 4,
"description": {
"translate": "enchantment.minecraft.fire_aspect"
},
"effects": {
"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": {
"type": "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/melee_weapon",
"slots": [
"mainhand"
],
"supported_items": "#minecraft:enchantable/fire_aspect",
"weight": 2
}