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,226 @@
{
"type": "minecraft:equipment",
"pools": [
{
"entries": [
{
"type": "minecraft:loot_table",
"value": {
"pools": [
{
"condition": {
"type": "minecraft:random_chance",
"chance": 0.5
},
"entries": [
{
"type": "minecraft:item",
"modifier": [
{
"type": "minecraft:set_components",
"components": {
"minecraft:trim": {
"material": "minecraft:copper",
"pattern": "minecraft:bolt"
}
}
},
{
"type": "minecraft:set_enchantments",
"enchantments": {
"minecraft:fire_protection": 4,
"minecraft:projectile_protection": 4,
"minecraft:protection": 4
}
}
],
"name": "minecraft:chainmail_helmet"
}
],
"rolls": 1
},
{
"condition": {
"type": "minecraft:random_chance",
"chance": 0.5
},
"entries": [
{
"type": "minecraft:item",
"modifier": [
{
"type": "minecraft:set_components",
"components": {
"minecraft:trim": {
"material": "minecraft:copper",
"pattern": "minecraft:bolt"
}
}
},
{
"type": "minecraft:set_enchantments",
"enchantments": {
"minecraft:fire_protection": 4,
"minecraft:projectile_protection": 4,
"minecraft:protection": 4
}
}
],
"name": "minecraft:chainmail_chestplate"
}
],
"rolls": 1
}
]
},
"weight": 4
},
{
"type": "minecraft:loot_table",
"value": {
"pools": [
{
"condition": {
"type": "minecraft:random_chance",
"chance": 0.5
},
"entries": [
{
"type": "minecraft:item",
"modifier": [
{
"type": "minecraft:set_components",
"components": {
"minecraft:trim": {
"material": "minecraft:copper",
"pattern": "minecraft:flow"
}
}
},
{
"type": "minecraft:set_enchantments",
"enchantments": {
"minecraft:fire_protection": 4,
"minecraft:projectile_protection": 4,
"minecraft:protection": 4
}
}
],
"name": "minecraft:iron_helmet"
}
],
"rolls": 1
},
{
"condition": {
"type": "minecraft:random_chance",
"chance": 0.5
},
"entries": [
{
"type": "minecraft:item",
"modifier": [
{
"type": "minecraft:set_components",
"components": {
"minecraft:trim": {
"material": "minecraft:copper",
"pattern": "minecraft:flow"
}
}
},
{
"type": "minecraft:set_enchantments",
"enchantments": {
"minecraft:fire_protection": 4,
"minecraft:projectile_protection": 4,
"minecraft:protection": 4
}
}
],
"name": "minecraft:iron_chestplate"
}
],
"rolls": 1
}
]
},
"weight": 2
},
{
"type": "minecraft:loot_table",
"value": {
"pools": [
{
"condition": {
"type": "minecraft:random_chance",
"chance": 0.5
},
"entries": [
{
"type": "minecraft:item",
"modifier": [
{
"type": "minecraft:set_components",
"components": {
"minecraft:trim": {
"material": "minecraft:copper",
"pattern": "minecraft:flow"
}
}
},
{
"type": "minecraft:set_enchantments",
"enchantments": {
"minecraft:fire_protection": 4,
"minecraft:projectile_protection": 4,
"minecraft:protection": 4
}
}
],
"name": "minecraft:diamond_helmet"
}
],
"rolls": 1
},
{
"condition": {
"type": "minecraft:random_chance",
"chance": 0.5
},
"entries": [
{
"type": "minecraft:item",
"modifier": [
{
"type": "minecraft:set_components",
"components": {
"minecraft:trim": {
"material": "minecraft:copper",
"pattern": "minecraft:flow"
}
}
},
{
"type": "minecraft:set_enchantments",
"enchantments": {
"minecraft:fire_protection": 4,
"minecraft:projectile_protection": 4,
"minecraft:protection": 4
}
}
],
"name": "minecraft:diamond_chestplate"
}
],
"rolls": 1
}
]
}
}
],
"rolls": 1
}
],
"random_sequence": "minecraft:equipment/trial_chamber"
}
@@ -0,0 +1,49 @@
{
"type": "minecraft:equipment",
"pools": [
{
"entries": [
{
"type": "minecraft:loot_table",
"value": "minecraft:equipment/trial_chamber"
}
],
"rolls": 1
},
{
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:iron_sword",
"weight": 4
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_enchantments",
"enchantments": {
"minecraft:sharpness": 1
}
},
"name": "minecraft:iron_sword"
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_enchantments",
"enchantments": {
"minecraft:knockback": 1
}
},
"name": "minecraft:iron_sword"
},
{
"type": "minecraft:item",
"name": "minecraft:diamond_sword"
}
],
"rolls": 1
}
],
"random_sequence": "minecraft:equipment/trial_chamber_melee"
}
@@ -0,0 +1,45 @@
{
"type": "minecraft:equipment",
"pools": [
{
"entries": [
{
"type": "minecraft:loot_table",
"value": "minecraft:equipment/trial_chamber"
}
],
"rolls": 1
},
{
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:bow",
"weight": 2
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_enchantments",
"enchantments": {
"minecraft:power": 1
}
},
"name": "minecraft:bow"
},
{
"type": "minecraft:item",
"modifier": {
"type": "minecraft:set_enchantments",
"enchantments": {
"minecraft:punch": 1
}
},
"name": "minecraft:bow"
}
],
"rolls": 1
}
],
"random_sequence": "minecraft:equipment/trial_chamber_ranged"
}