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,83 @@
[
{
"block_state_provider": {
"type": "minecraft:rule_based",
"rules": [
{
"if_true": {
"type": "minecraft:all_of",
"predicates": [
{
"type": "minecraft:matching_block_tag",
"tag": "minecraft:turns_into_farmland"
},
{
"type": "minecraft:matching_block_tag",
"offset": [
0,
1,
0
],
"tag": "minecraft:air"
}
]
},
"then": {
"id": "minecraft:farmland",
"properties": {
"moisture": "0"
}
}
},
{
"if_true": {
"type": "minecraft:all_of",
"predicates": [
{
"type": "minecraft:matching_blocks",
"blocks": "minecraft:coarse_dirt"
},
{
"type": "minecraft:matching_block_tag",
"offset": [
0,
1,
0
],
"tag": "minecraft:air"
}
]
},
"then": {
"id": "minecraft:dirt"
}
}
]
},
"disallowed_faces": [
"down"
],
"item_damage_per_use": 1,
"sound": "minecraft:item.hoe.till"
},
{
"block_state_provider": {
"type": "minecraft:rule_based",
"rules": [
{
"if_true": {
"type": "minecraft:matching_blocks",
"blocks": "minecraft:rooted_dirt"
},
"then": {
"id": "minecraft:dirt"
}
}
]
},
"drop_strategy": "clicked_face",
"item_damage_per_use": 1,
"loot": "minecraft:till/rooted_dirt",
"sound": "minecraft:item.hoe.till"
}
]