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