Mojira Archive
MC-132940

"skip_existing_chunks" no longer works within "minecraft:exploration_map" function

The bug

Loot tables ignore the skip_existing_chunks option within minecraft:exploration_map functions.

How to reproduce

Using a loot table such as:

{
    "pools": [
        {
            "rolls": 1,
            "entries": [
                {
                    "type": "item",
                    "name": "minecraft:map",
                    "weight": 1,
                    "functions": [
                        {
                            "function": "minecraft:exploration_map",
                            "destination": "shipwreck",
                            "decoration": "red_x",
                            "zoom": 1,
                            "skip_existing_chunks": true
                        }
                    ]
                }
            ]
        }
    ]
}

→ Will result in maps leading to the same structure every time.

This is especially problematic for large servers, as this gave the ability to have naturally spawning explorer maps lead to unexplored chunks rather than always leading to treasure that is raided.