Talk:Function (Java Edition)

Redirect and deletion
So I see this redirect page has been marked for deletion. I agree that this page should not redirect to the "commands" page but why must it be deleted? Can't we just edit the redirect away? --Pepijn (talk) 21:07, 11 May 2017 (UTC)
 * Certainly, if you're prepared to write the article, but we can't leave a completely blank page. If you ARE ready to write the article, it would be very welcome and you can feel free to delete the delete template. It doesn't have to be complete or perfect, but it does need to follow the basic rules for editing the wiki. If you need some direction, start by reading Minecraft Wiki:Welcome. And thank you for being interested in helping out here! – Auldrick (talk &middot; contribs) 21:17, 11 May 2017 (UTC)
 * Alright, done (for now). I hope it's enough for now to justify this page's existence. A simple text based tutorial could probably be added and maybe even some notes on the more complex possibilities of this new system. --Pepijn (talk) 22:34, 11 May 2017 (UTC)

Singular vs plural
, at a discussion last year about singular versus plural page titles, the prevailing idea was to follow Wikipedia's convention to prefer singular titles, unless the page is in large part a list (Commands or Achievements for instance). I think according to that, it would be better to name the page Function. – Sealbudsman talk/contr 01:18, 13 May 2017 (UTC)


 * Alright, was not aware of that sorry. Moved everything to 'Function' now. --Pepijn (talk) 13:41, 13 May 2017 (UTC)

Commands run inside a function will obey maxCommandChainLength
I don't really understand what's "run inside a function" means. Is the total amount of commands run by functions inside of a tick set by this gamerule or may a function file contain up to maxCommandChainLength commands? Or does this mean, maximum recursion depth is maxCommandChainLength? | violine1101(Talk) 15:31, 18 May 2017 (UTC)


 * [I think] it basically means that Minecraft will start reading a function file and execute each command it sees until it reaches the limit set by the maxCommandChainLength gamerule, at which point it will stop reading that function and ignore the rest. I believe this includes functions called from within other functions. CreepaShadowz (talk) 08:17, 19 May 2017 (UTC)

Namespace defaulting to minecraft: in /gamerule gameLoopFunction ?
Does anyone know if the namespace will default to  if omitted from the   command? ~ CreepaShadowz (talk) 06:47, 30 May 2017 (UTC)
 * It does. The page already mentions that trying to call a function (using commands or advancements) without a namespace will make the namespace default to . --Pepijn (talk) 10:17, 1 June 2017 (UTC)

Server functions versus client functions
The article is written as if functions are not supported on the server. Client-side functions are saved in .../minecraft/saves/data/functions/; server-side functions are saved in .../world/data/functions/ This should be clarified in the article. Atypicaluser (talk) 16:25, 9 August 2017 (UTC)