corrected tall grass

This commit is contained in:
Jottyfan
2026-07-25 09:59:46 +02:00
parent f6ece6e267
commit 90a469534a
@@ -2,81 +2,43 @@
"type": "minecraft:block", "type": "minecraft:block",
"pools": [ "pools": [
{ {
"rolls": {
"type": "minecraft:constant",
"value": 1.0
},
"entries": [ "entries": [
{ {
"type": "minecraft:alternatives", "type": "minecraft:alternatives",
"children": [ "children": [
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "minecraft:short_grass", "condition": "minecraft:tool/can_shear",
"functions": [ "name": "minecraft:tall_grass"
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:constant",
"value": 2.0
}
}
],
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"sub_predicates": {
"minecraft:tool": "minecraft:tool/can_shear"
}
}
}
]
}, },
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "minecraft:wheat_seeds", "condition": {
"conditions": [ "type": "minecraft:random_chance",
{ "chance": 0.125
"condition": "minecraft:random_chance", },
"chance": 0.125 "name": "quickly:canolaseed"
} },
] {
"type": "minecraft:item",
"condition": {
"type": "minecraft:random_chance",
"chance": 0.125
},
"name": "minecraft:beetroot_seeds"
},
{
"type": "minecraft:item",
"condition": {
"type": "minecraft:random_chance",
"chance": 0.125
},
"name": "quickly:salpeter"
} }
] ]
} }
]
},
{
"rolls": {
"type": "minecraft:constant",
"value": 1.0
},
"conditions": [
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:match_tool",
"predicate": {
"sub_predicates": {
"minecraft:tool": "minecraft:tool/can_shear"
}
}
}
}
], ],
"entries": [ "rolls": 1.0
{
"type": "minecraft:item",
"name": "quickly:canolaseed",
"conditions": [
{
"condition": "minecraft:random_chance",
"chance": 0.05
}
]
}
]
} }
] ]
} }