I tried executing a function in the newest pre-release of 1.12, but have been unable to get a single successful run. I have attached the file I was trying to execute as a test, which was placed in a folder titled "folder" in the functions folder of my world. The command I used to try calling the function was /function folder:hi. As a note (don't know if this had a role in the error), my world has a "." in the name, which turned into a "_" in the name of the world folder. If this does have an effect on the performance of the function, I'll let you know after some brief testing.
UPDATE: After changing the world name, I confirmed that having a period in the world name has no effect on /function.
Attachments
Comments 3
That's really strange because it was initially saved as hi.txt. Then I changed it to hi.mcfunction. I have now idea how it ended up adding .txt back on. How do I change that on a mac?
it has to be
hi.mcfunction
, nothi.mcfunction.txt
.