Problems with spawning explorer maps with /loot

Hey all! I am aware this has been asked before, but I just can not seem to do this correctly. I know that /loot has an "exlporer_map" function, which generates the maps pointing to a structure. I, however, can not seem to get the command to work. ChatGPT keeps repeating that the only way the function executes is via a chest loot table generation, which i frankly don't buy. Bellow is the example loot table code that doesn't seem to generate. Running mc version 1.20.1 Forge modpack with KubeJS mod, the datapack is located there.


{
  "type": "minecraft:generic",
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:item",
          "name": "minecraft:filled_map",
          "functions": [
            {
              "function": "minecraft:exploration_map",
              "destination": "minecraft:ocean_monument",
              "decoration": "monument",
              "zoom": 2,
              "search_radius": 100,
              "skip_existing_chunks": false
            },
            {
              "function": "minecraft:set_name",
              "name": {
                "text": "Ocean Monument Explorer Map",
                "color": "aqua"
              }
            }
          ]
        }
      ]
    }
  ]
}

What I have tried:

  • Spawning the map loot inside a chest
  • Doing regular /loot spawn

The map's item and name is generated correctly.

All attempts yield the spawning of said map, but inside its just empty, no textures, no decorations, no nothing.

Any help would be greatly appretiated!

Continue to help post