2
Hello I am attempting to create a datapack from scratch to script common add items to my player. Here is my background:
Running a console output window I get the following on load / reload:
Missing metadata in pack file/fubar
What am I missing here, I used to be able to use functions and now I cannot. Thanks in advance
- Windows 11 local install / server
- Java Edition 1.21.5
- Path where pack.mcdata is located = C:\Users\ktemp\AppData\Roaming\.minecraft\saves\SandBox\datapacks\fubar
- Contents of pack.mcdata is below
- {
"pack"{
"description": "Fubar Pack",
"pack_format": 71
}
} - hello.mcfunction is located at C:\Users\ktemp\AppData\Roaming\.minecraft\saves\SandBox\datapacks\fubar\data\new\functions
- hello.mcfunction contents
- tellraw @s "Hello World"
- i have uninstalled and re-installed from the Microsoft Store
- There are no zip files involved here
Running a console output window I get the following on load / reload:
Missing metadata in pack file/fubar
What am I missing here, I used to be able to use functions and now I cannot. Thanks in advance
Create an account or sign in to comment.
2

1. A column is missing
{
"pack": {
"description": "Fubar Pack",
"pack_format": 71
}
}
2. The functions folder has been renamed to "function" in recent Versions. So it's important you rename it as well.
Have Fun!
{
"pack": {
"description": "Fubar Pack",
"pack_format": 71
}
}
2. The functions folder has been renamed to "function" in recent Versions. So it's important you rename it as well.
Have Fun!

that did it. geez and I even used a Visual Studio Code Plugin. Thanks