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,11 @@
{
"gives": {
"id": "minecraft:emerald"
},
"max_uses": 12,
"reputation_discount": 0.05,
"wants": {
"id": "minecraft:diamond"
},
"xp": 30
}
@@ -0,0 +1,38 @@
{
"given_item_modifier": [
{
"type": "minecraft:enchant_with_levels",
"include_additional_cost_component": true,
"levels": {
"type": "minecraft:uniform",
"max": 19,
"min": 5
},
"options": "#minecraft:on_traded_equipment"
},
{
"type": "minecraft:filtered",
"item_filter": {
"items": "minecraft:diamond_axe",
"predicates": {
"minecraft:enchantments": [
{}
]
}
},
"on_fail": {
"type": "minecraft:discard"
}
}
],
"gives": {
"id": "minecraft:diamond_axe"
},
"max_uses": 3,
"reputation_discount": 0.2,
"wants": {
"count": 12,
"id": "minecraft:emerald"
},
"xp": 15
}
@@ -0,0 +1,38 @@
{
"given_item_modifier": [
{
"type": "minecraft:enchant_with_levels",
"include_additional_cost_component": true,
"levels": {
"type": "minecraft:uniform",
"max": 19,
"min": 5
},
"options": "#minecraft:on_traded_equipment"
},
{
"type": "minecraft:filtered",
"item_filter": {
"items": "minecraft:diamond_shovel",
"predicates": {
"minecraft:enchantments": [
{}
]
}
},
"on_fail": {
"type": "minecraft:discard"
}
}
],
"gives": {
"id": "minecraft:diamond_shovel"
},
"max_uses": 3,
"reputation_discount": 0.2,
"wants": {
"count": 5,
"id": "minecraft:emerald"
},
"xp": 15
}