Files
Pumpkin/assets/loot_table/chests/igloo_chest.json
RB007 b2b10f3323 feat: chest loot tables (#2084)
* feat: add vanilla chest loot table json files

* feat: codegen and chest loot logic

Co-authored-by: Copilot <copilot@github.com>

* fix: monster_room loot chests

* fix: nether_fortress loot chests

* fix: shuffle item stacks and fmt/clippy

Co-authored-by: Copilot <copilot@github.com>

---------

Signed-off-by: Alexander Medvedev <lilalexmed@proton.me>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2026-05-15 08:43:51 +02:00

104 lines
2.3 KiB
JSON

{
"type": "minecraft:chest",
"pools": [
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 3.0,
"min": 1.0
},
"function": "minecraft:set_count"
}
],
"name": "minecraft:apple",
"weight": 15
},
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 4.0,
"min": 1.0
},
"function": "minecraft:set_count"
}
],
"name": "minecraft:coal",
"weight": 15
},
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 3.0,
"min": 1.0
},
"function": "minecraft:set_count"
}
],
"name": "minecraft:gold_nugget",
"weight": 10
},
{
"type": "minecraft:item",
"name": "minecraft:stone_axe",
"weight": 2
},
{
"type": "minecraft:item",
"name": "minecraft:rotten_flesh",
"weight": 10
},
{
"type": "minecraft:item",
"name": "minecraft:emerald"
},
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 3.0,
"min": 2.0
},
"function": "minecraft:set_count"
}
],
"name": "minecraft:wheat",
"weight": 10
}
],
"rolls": {
"type": "minecraft:uniform",
"max": 8.0,
"min": 2.0
}
},
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:golden_apple"
}
],
"rolls": 1.0
}
],
"random_sequence": "minecraft:chests/igloo_chest"
}