fixed short grass loot table

This commit is contained in:
Jottyfan
2026-07-25 01:21:04 +02:00
parent a065d8db16
commit f6ece6e267
@@ -2,80 +2,48 @@
"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",
"conditions": [ "name": "minecraft:short_grass"
{
"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
},
"modifier": [
{ {
"condition": "minecraft:random_chance", "type": "minecraft:apply_bonus",
"value": 0.125 "enchantment": "minecraft:fortune",
"formula": "minecraft:uniform_bonus_count",
"parameters": {
"bonusMultiplier": 2
}
},
{
"type": "minecraft:explosion_decay"
} }
] ],
} "name": "minecraft:wheat_seeds"
]
}
]
},
{
"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": [
{
"type": "minecraft:item",
"name": "quickly:cottonseed",
"conditions": [
{
"condition": "minecraft:random_chance",
"value": 0.05
}, },
{ {
"condition": "minecraft:location_check", "type": "minecraft:item",
"predicate": { "condition": {
"location": { "type": "minecraft:random_chance",
"biomes": "minecraft:savanna" "chance": 0.125
} },
} "name": "quickly:cottonseed"
} }
] ]
} }
] ],
"rolls": 1.0
} }
] ]
} }