Skip to content

Instantly share code, notes, and snippets.

@william-v4
Forked from Dinnerbone/spawn_bonus_chest.json
Created July 13, 2021 16:50
Show Gist options
  • Save william-v4/ec33b3107d35414e231167ece46d70a7 to your computer and use it in GitHub Desktop.
Save william-v4/ec33b3107d35414e231167ece46d70a7 to your computer and use it in GitHub Desktop.
This is an example of the current spawn bonus chest loot table in Minecraft, in the (possibly) new loot table data format.
[
{
"item": "minecraft:stick",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"min": 1,
"max": 3
}
]
},
{
"item": "minecraft:planks",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"min": 1,
"max": 3
}
]
},
{
"item": "minecraft:log",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"min": 1,
"max": 3
}
]
},
{
"item": "minecraft:stone_axe",
"weight": 3
},
{
"item": "minecraft:wooden_axe",
"weight": 5
},
{
"item": "minecraft:stone_pickaxe",
"weight": 3
},
{
"item": "minecraft:wooden_pickaxe",
"weight": 5
},
{
"item": "minecraft:apple",
"weight": 5,
"functions": [
{
"function": "minecraft:set_count",
"min": 2,
"max": 3
}
]
},
{
"item": "minecraft:bread",
"weight": 3,
"functions": [
{
"function": "minecraft:set_count",
"min": 2,
"max": 3
}
]
},
{
"item": "minecraft:log2",
"weight": 10,
"functions": [
{
"function": "minecraft:set_count",
"min": 1,
"max": 3
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment