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,218 @@
{
"type": "minecraft:barter",
"pools": [
{
"entries": [
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:enchant_randomly",
"options": "minecraft:soul_speed"
},
"name": "minecraft:book",
"weight": 5
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:enchant_randomly",
"options": "minecraft:soul_speed"
},
"name": "minecraft:iron_boots",
"weight": 8
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_potion",
"id": "minecraft:fire_resistance"
},
"name": "minecraft:potion",
"weight": 8
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_potion",
"id": "minecraft:fire_resistance"
},
"name": "minecraft:splash_potion",
"weight": 8
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_potion",
"id": "minecraft:water"
},
"name": "minecraft:potion",
"weight": 10
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"max": 36,
"min": 10
}
},
"name": "minecraft:iron_nugget",
"weight": 10
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"max": 4,
"min": 2
}
},
"name": "minecraft:ender_pearl",
"weight": 10
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_count",
"count": 1
},
"name": "minecraft:dried_ghast",
"weight": 10
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"max": 9,
"min": 3
}
},
"name": "minecraft:string",
"weight": 20
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"max": 12,
"min": 5
}
},
"name": "minecraft:quartz",
"weight": 20
},
{
"type": "minecraft:item",
"name": "minecraft:obsidian",
"weight": 40
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"max": 3,
"min": 1
}
},
"name": "minecraft:crying_obsidian",
"weight": 40
},
{
"type": "minecraft:item",
"name": "minecraft:fire_charge",
"weight": 40
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"max": 4,
"min": 2
}
},
"name": "minecraft:leather",
"weight": 40
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"max": 8,
"min": 2
}
},
"name": "minecraft:soul_sand",
"weight": 40
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"max": 8,
"min": 2
}
},
"name": "minecraft:nether_brick",
"weight": 40
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"max": 12,
"min": 6
}
},
"name": "minecraft:spectral_arrow",
"weight": 40
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"max": 16,
"min": 8
}
},
"name": "minecraft:gravel",
"weight": 40
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"max": 16,
"min": 8
}
},
"name": "minecraft:blackstone",
"weight": 40
}
],
"rolls": 1
}
],
"random_sequence": "minecraft:gameplay/piglin_bartering"
}