Minecraft 1.21.6 – Datapack functions not loading even with load.json
Hi everyone!
I'm working on a custom datapack in Minecraft Java Edition 1.21.6, and while the datapack shows up as active with /datapack list, none of the functions are recognized or executed, including the one I added to load.json.
I’ve triple-checked the file names and structure, and I can’t figure out what’s wrong. When I reload the world, I expect my function jump:main to run, which simply places a diamond block below the player and sends a message.
Here’s the full structure of the datapack (installed in saves/New World/datapacks/dimensionJump-main):
dimensionJump-main/
├── pack.mcmeta
├── pack.png
├── data/
│ ├── jump/
│ │ ├── dimension/jump/
│ │ ├── functions/
│ │ │ └── main.mcfunction
│ │ ├── tags/functions/load.json <–– is this the issue?
│ ├── minecraft/
│ │ └── tags/functions/
│ │ └── (also tried putting load.json here)
├── assets/ (unused)
pack.mcmeta
{
"pack": {
"pack_format": 48,
"description": "Test datapack for 1.21.6"
}
}
main.mcfunction
say jump:main executed!
setblock ~ ~-1 ~ minecraft:diamond_block
load.json
Located in data/jump/tags/functions/load.json, with this content:
{
"values": ["jump:main"]
}
I also tried placing load.json in data/minecraft/tags/functions/load.json just in case — no success.
Any idea what im missing? Im sure the datapack get loaded correctly cause all the custom dimensions are actually seen, but not the functions.
thaaanks!
Continue to help post