(also affects 17w43b)
What I expected to happen was...: the function should run
What actually happened was...: "Unknown function: namespace:folder/function"
Steps to Reproduce:
Create a new world (or open an existing one) in 17w45b
Create a "functions" folder in [world save]/data
Create a "namespace" folder in [world save]/data/functions
Create a file called "test.mcfunction" in [world save]/data/functions/namespace
Add a command such as "say test" and save the file.
Back in minecraft, run the command /reload (note that in the case of invalid commands it still provides no feedback, even though it's supposed to display an error)
Run the following command:
/function namespace:test
Observe the output:
Unknown function: namespace:test
Comments 6
i fixed everything afaik and it's still not recognizing the functions??
the folder structure is
-datapacks
--pack
---data
----tinzin
-----functions
------roles.mcfunction
Folder structures have changed; you need to create a "data pack" instead of using the "data" folder. See this blog post for further details on setting up a data pack: https://minecraft.net/en-us/article/minecraft-snapshot-17w43a