Pumpkin/assets/datapack/data/minecraft/block_transformer/shovel.json

37 lines
823 B
JSON

[
{
"block_state_provider": {
"type": "minecraft:rule_based",
"rules": [
{
"if_true": {
"type": "minecraft:all_of",
"predicates": [
{
"type": "minecraft:matching_block_tag",
"tag": "minecraft:turns_into_dirt_path"
},
{
"type": "minecraft:matching_block_tag",
"offset": [
0,
1,
0
],
"tag": "minecraft:air"
}
]
},
"then": {
"id": "minecraft:dirt_path"
}
}
]
},
"disallowed_faces": [
"down"
],
"item_damage_per_use": 1,
"sound": "minecraft:item.shovel.flatten"
}
]