Files
minecraft-assets/data/minecraft/loot_tables/blocks/resin_ore.json
2025-02-03 11:41:59 +01:00

111 lines
3.5 KiB
JSON

{
"type": "minecraft:block",
"pools": [
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"predicates": {
"minecraft:enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
}
],
"name": "minecraft:resin_ore"
},
{
"type": "minecraft:loot_table",
"functions": [
{
"function": "minecraft:explosion_decay"
}
],
"value": {
"pools": [
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"components": {
"minecraft:resin": {
"impurities": "a",
"quality": "a"
}
},
"function": "minecraft:set_components"
}
],
"name": "minecraft:toxic_resin",
"weight": 4
},
{
"type": "minecraft:item",
"functions": [
{
"components": {
"minecraft:resin": {
"impurities": "a",
"quality": "c"
}
},
"function": "minecraft:set_components"
}
],
"name": "minecraft:toxic_resin",
"weight": 3
},
{
"type": "minecraft:item",
"functions": [
{
"components": {
"minecraft:resin": {
"impurities": "a",
"quality": "e"
}
},
"function": "minecraft:set_components"
}
],
"name": "minecraft:toxic_resin",
"weight": 2
}
],
"functions": [
{
"enchantment": "minecraft:fortune",
"formula": "minecraft:ore_drops",
"function": "minecraft:apply_bonus"
}
],
"rolls": 1.0
}
]
}
}
]
}
],
"rolls": 1.0
}
],
"random_sequence": "minecraft:blocks/resin_ore"
}