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,89 @@
{
"type": "minecraft:entity",
"pools": [
{
"entries": [
{
"type": "minecraft:item",
"modifier": [
{
"type": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": -1
}
},
{
"type": "minecraft:enchanted_count_increase",
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"enchantment": "minecraft:looting"
}
],
"name": "minecraft:coal"
}
],
"rolls": 1
},
{
"entries": [
{
"type": "minecraft:item",
"modifier": [
{
"type": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"max": 2,
"min": 0
}
},
{
"type": "minecraft:enchanted_count_increase",
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"enchantment": "minecraft:looting"
}
],
"name": "minecraft:bone"
}
],
"rolls": 1
},
{
"condition": {
"type": "minecraft:all_of",
"terms": [
{
"type": "minecraft:killed_by_player"
},
{
"type": "minecraft:random_chance_with_enchanted_bonus",
"enchanted_chance": {
"type": "minecraft:linear",
"base": 0.035,
"per_level_above_first": 0.01
},
"enchantment": "minecraft:looting",
"unenchanted_chance": 0.025
}
]
},
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:wither_skeleton_skull"
}
],
"rolls": 1
}
],
"random_sequence": "minecraft:entities/wither_skeleton"
}