{ "type": "minecraft:block", "pools": [ { "bonus_rolls": 0.0, "conditions": [ { "block": "minecraft:tall_grass", "condition": "minecraft:block_state_property", "properties": { "half": "lower" } }, { "condition": "minecraft:location_check", "offsetY": 1, "predicate": { "block": { "blocks": [ "minecraft:tall_grass" ], "state": { "half": "upper" } } } } ], "entries": [ { "type": "minecraft:alternatives", "children": [ { "type": "minecraft:item", "conditions": [ { "condition": "minecraft:match_tool", "predicate": { "items": [ "minecraft:shears" ] } } ], "functions": [ { "add": false, "count": 2.0, "function": "minecraft:set_count" } ], "name": "minecraft:grass" }, { "type": "minecraft:item", "conditions": [ { "condition": "minecraft:survives_explosion" }, { "chance": 0.125, "condition": "minecraft:random_chance" } ], "name": "minecraft:wheat_seeds" } ] } ], "rolls": 1.0 }, { "bonus_rolls": 0.0, "conditions": [ { "block": "minecraft:tall_grass", "condition": "minecraft:block_state_property", "properties": { "half": "upper" } }, { "condition": "minecraft:location_check", "offsetY": -1, "predicate": { "block": { "blocks": [ "minecraft:tall_grass" ], "state": { "half": "lower" } } } } ], "entries": [ { "type": "minecraft:alternatives", "children": [ { "type": "minecraft:item", "conditions": [ { "condition": "minecraft:match_tool", "predicate": { "items": [ "minecraft:shears" ] } } ], "functions": [ { "add": false, "count": 2.0, "function": "minecraft:set_count" } ], "name": "minecraft:grass" }, { "type": "minecraft:item", "conditions": [ { "condition": "minecraft:survives_explosion" }, { "chance": 0.125, "condition": "minecraft:random_chance" } ], "name": "minecraft:wheat_seeds" } ] } ], "rolls": 1.0 } ] }