I was following this tutorial to learn how to make data packs in Minecraft. I’m playing Minecraft 1.21. Here’s my data pack architecture: my data pack architecture. I’m at the part of the tutorial where he creates and executes the load.mcfunction file. I followed the steps exactly, but my load function doesn’t execute.
Here’s the code in my load.mcfunction file:
<code># This runs on /reload command
tellraw @a {"text": "Datapack loaded!"}
</code>
<code># This runs on /reload command
tellraw @a {"text": "Datapack loaded!"}
</code>
# This runs on /reload command
tellraw @a {"text": "Datapack loaded!"}
And here’s my load.json file:
<code>{
"values": [
"namespace:load"
]
}
</code>
<code>{
"values": [
"namespace:load"
]
}
</code>
{
"values": [
"namespace:load"
]
}
I’d be grateful if someone could help me solve this problem. I haven’t been able to find a solution myself.