Jump to content

[1.10.2] Loot table not working


Egietje

Recommended Posts

Hello, I have a custom loot table for a chest in a structure but when I open the chest there is nothing in there, here is the file

{
    "pools": [
        {
		"name":"cheese_chest",
            "rolls": {
                "min": 2,
                "max": 8
            },
            "entries": [
                {
                    "type": "item",
                    "name": "dgm:cheese",
                    "weight": 15,
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 3,
                                "max": 7
                            }
                        }
                    ]
                },
                {
                    "type": "item",
                    "name": "dgm:cooked_cheese",
                    "weight": 5,
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 1,
                                "max": 2
                            }
                        }
                    ]
                },
                {
                    "type": "item",
                    "name": "dgm:cheese_axe",
                    "weight": 2
                },
                {
                    "type": "item",
                    "name": "dgm:cheese_ingot",
                    "weight": 10
                },
                {
                    "type": "item",
                    "name": "dgm:cheese_multitool",
                    "weight": 1
                },
                {
                    "type": "item",
                    "name": "dgm:cheese_seeds",
                    "weight": 10,
                    "functions": [
                        {
                            "function": "minecraft:set_count",
                            "count": {
                                "min": 2,
                                "max": 3
                            }
                        }
                    ]
                }
            ]
        },
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "item",
                    "name": "dgm:cheese_apple",
                    "weight": 1
                }
            ]
        }
    ]
}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.