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,68 @@
{
"type": "minecraft:entity",
"pools": [
{
"entries": [
{
"type": "minecraft:item",
"modifier": [
{
"type": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"max": 1,
"min": 0
}
},
{
"type": "minecraft:enchanted_count_increase",
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"enchantment": "minecraft:looting"
},
{
"type": "minecraft:furnace_smelt",
"condition": {
"type": "minecraft:any_of",
"terms": [
{
"type": "minecraft:entity_properties",
"entity": "this",
"predicate": {
"minecraft:flags": {
"is_on_fire": true
}
}
},
{
"type": "minecraft:entity_properties",
"entity": "direct_attacker",
"predicate": {
"minecraft:equipment": {
"mainhand": {
"predicates": {
"minecraft:enchantments": [
{
"enchantments": "#minecraft:smelts_loot"
}
]
}
}
}
}
}
]
}
}
],
"name": "minecraft:cod"
}
],
"rolls": 1
}
],
"random_sequence": "minecraft:entities/dolphin"
}