124 lines
3.1 KiB
JSON
124 lines
3.1 KiB
JSON
{
|
|
"type": "minecraft:block",
|
|
"pools": [
|
|
{
|
|
"condition": {
|
|
"type": "minecraft:all_of",
|
|
"terms": [
|
|
{
|
|
"type": "minecraft:match_block",
|
|
"blocks": "minecraft:tall_grass",
|
|
"state": {
|
|
"half": "lower"
|
|
}
|
|
},
|
|
{
|
|
"type": "minecraft:location_check",
|
|
"offsetY": 1,
|
|
"predicate": {
|
|
"block": {
|
|
"blocks": "minecraft:tall_grass",
|
|
"state": {
|
|
"half": "upper"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:alternatives",
|
|
"children": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"condition": "minecraft:tool/can_shear",
|
|
"modifier": {
|
|
"type": "minecraft:set_count",
|
|
"count": 2
|
|
},
|
|
"name": "minecraft:short_grass"
|
|
},
|
|
{
|
|
"type": "minecraft:item",
|
|
"condition": {
|
|
"type": "minecraft:all_of",
|
|
"terms": [
|
|
{
|
|
"type": "minecraft:survives_explosion"
|
|
},
|
|
{
|
|
"type": "minecraft:random_chance",
|
|
"chance": 0.125
|
|
}
|
|
]
|
|
},
|
|
"name": "minecraft:wheat_seeds"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"rolls": 1
|
|
},
|
|
{
|
|
"condition": {
|
|
"type": "minecraft:all_of",
|
|
"terms": [
|
|
{
|
|
"type": "minecraft:match_block",
|
|
"blocks": "minecraft:tall_grass",
|
|
"state": {
|
|
"half": "upper"
|
|
}
|
|
},
|
|
{
|
|
"type": "minecraft:location_check",
|
|
"offsetY": -1,
|
|
"predicate": {
|
|
"block": {
|
|
"blocks": "minecraft:tall_grass",
|
|
"state": {
|
|
"half": "lower"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:alternatives",
|
|
"children": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"condition": "minecraft:tool/can_shear",
|
|
"modifier": {
|
|
"type": "minecraft:set_count",
|
|
"count": 2
|
|
},
|
|
"name": "minecraft:short_grass"
|
|
},
|
|
{
|
|
"type": "minecraft:item",
|
|
"condition": {
|
|
"type": "minecraft:all_of",
|
|
"terms": [
|
|
{
|
|
"type": "minecraft:survives_explosion"
|
|
},
|
|
{
|
|
"type": "minecraft:random_chance",
|
|
"chance": 0.125
|
|
}
|
|
]
|
|
},
|
|
"name": "minecraft:wheat_seeds"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"rolls": 1
|
|
}
|
|
],
|
|
"random_sequence": "minecraft:blocks/tall_grass"
|
|
} |