mojira.dev
MC-117720

Functions don't work

On my computer in any Pre-Release after 1.12 Pre-Release 2 the functions don't work.I press TAB after typing /function but it doesn't shows my folder.I write corectly what was the command in Pre-Release 2 but it tells that Incorect name.Why?I thank the answers

Linked issues

Comments 3

The function file extension was changed from .txt to .mcfunction. The file is still an UTF-8 encoded text file but this was done to allow syntax hightlighting.
Additionally only the character # may be used for comments now and commands must not have a prepended slash.

And how the crap can I do .mcfunction?

In case you are using Windows and the file extension .txt is not shown by default you can follow these steps to show it: http://www.pcadvisor.co.uk/how-to/software/how-show-or-hide-file-extensions-3341794/

Benedek Szabolcs

(Unassigned)

Unconfirmed

Minecraft 1.12 Pre-Release 5

Retrieved