Skip to content

Problems with chests #155

Description

Some of the chests are invisible. I believe these invisible chests are the ones that use the custom loot tables of lostcitychest.json and raildungeonchest.json. I believe the tables are incorrectly formatted. For example, here is a part of the desert pyramid loot table:
{
"pools": [
{
"name": "main",
"entries": [
{
"entryName": "minecraft:sand",
"weight": 10,
"quality": 0,
"type": "item",
"functions": [
{
"count": {
"min": 1.0,
"max": 8.0
},
"function": "minecraft:set_count"
}
],
"name": "minecraft:sand"
}
],
"rolls": 4.0
}
]
}
Whereas in the lost cities chest table it is:
{
"pools": [
{
"name": "lostcities:lostcitychest",
"rolls": {
"min": 2,
"max": 4
},
"entries": [
{
"type": "item",
"name": "minecraft:diamond_sword",
"functions": [
{
"function": "set_count",
"count": {
"min": 0,
"max": 1
}
}
],
"weight": 2
}
]
}
]
}
I found this a bit of an annoyance because i wanted to modify the tables in order to get them to spawn guns, ammunition, magazines and attachments as well as the default loot. I have tried reformatting the loot tables with the "correct" formatting, but they still do not work. If you could try to fix this I would be happy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions