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,62 @@
{
"type": "minecraft:entity",
"pools": [
{
"entries": [
{
"type": "minecraft:item",
"modifier": {
"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:salmon"
}
],
"rolls": 1
},
{
"condition": {
"type": "minecraft:random_chance",
"chance": 0.05
},
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:bone_meal"
}
],
"rolls": 1
}
],
"random_sequence": "minecraft:entities/salmon"
}