Pumpkin/assets/datapack/data/minecraft/loot_table/blocks/spruce_leaves.json

92 lines
2.2 KiB
JSON

{
"type": "minecraft:block",
"pools": [
{
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:item",
"condition": {
"type": "minecraft:any_of",
"terms": [
"minecraft:tool/can_shear",
"minecraft:tool/can_silk_touch"
]
},
"name": "minecraft:spruce_leaves"
},
{
"type": "minecraft:item",
"condition": {
"type": "minecraft:all_of",
"terms": [
{
"type": "minecraft:survives_explosion"
},
{
"type": "minecraft:table_bonus",
"chances": [
0.05,
0.0625,
0.083333336,
0.1
],
"enchantment": "minecraft:fortune"
}
]
},
"name": "minecraft:spruce_sapling"
}
]
}
],
"rolls": 1
},
{
"condition": {
"type": "minecraft:inverted",
"term": {
"type": "minecraft:any_of",
"terms": [
"minecraft:tool/can_shear",
"minecraft:tool/can_silk_touch"
]
}
},
"entries": [
{
"type": "minecraft:item",
"condition": {
"type": "minecraft:table_bonus",
"chances": [
0.02,
0.022222223,
0.025,
0.033333335,
0.1
],
"enchantment": "minecraft:fortune"
},
"modifier": [
{
"type": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"max": 2,
"min": 1
}
},
{
"type": "minecraft:explosion_decay"
}
],
"name": "minecraft:stick"
}
],
"rolls": 1
}
],
"random_sequence": "minecraft:blocks/spruce_leaves"
}