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,38 @@
{
"additional_wants": {
"id": "minecraft:book"
},
"double_trade_price_enchantments": "#minecraft:double_trade_price",
"given_item_modifier": [
{
"type": "minecraft:enchant_randomly",
"include_additional_cost_component": true,
"only_compatible": false,
"options": "#minecraft:tradeable"
},
{
"type": "minecraft:filtered",
"item_filter": {
"items": "minecraft:enchanted_book",
"predicates": {
"minecraft:stored_enchantments": [
{}
]
}
},
"on_fail": {
"type": "minecraft:discard"
}
}
],
"gives": {
"id": "minecraft:enchanted_book"
},
"max_uses": 12,
"reputation_discount": 0.2,
"wants": {
"count": 0,
"id": "minecraft:emerald"
},
"xp": 10
}
@@ -0,0 +1,12 @@
{
"gives": {
"count": 4,
"id": "minecraft:glass"
},
"max_uses": 12,
"reputation_discount": 0.05,
"wants": {
"id": "minecraft:emerald"
},
"xp": 10
}
@@ -0,0 +1,12 @@
{
"gives": {
"id": "minecraft:emerald"
},
"max_uses": 12,
"reputation_discount": 0.05,
"wants": {
"count": 5,
"id": "minecraft:ink_sac"
},
"xp": 20
}