Mojira Archive
MC-118211

Calling functions inside functions that call functions does not work

When I try to call functions inside another function that is using a third function it does not call them (I'm using command blocks). The log says it executed them, but there is no result.
When I try it myself, copying the command, it still does not work. If I do use the functions individually it works fine.

  • Function1 . . . . . . . . . . . . . . . . . . . . . . Trying this function does not work.
    . . . . . * Function1_1 . . . . . . . . . . . . . . Using this function works
    . . . . . . . . . . * Function1_1_1
    . . . . . * Function1_2 . . . . . . . . . . . . . . Using this function also works
    . . . . . . . . . . * Function1_2_1

I copied all my code from Lorgon111, from his YouTube video Conway's game of life, explained
I used custom terain, with 4x air and 1 layer of wool
I changed spawn to x=0 and z=0

The code replaces all bats with 'living' (black) cells and skeletons with 'dead' (white) cells.
There also appear command blocks under the wool if you place with a spawn egg/summon a bat.

Since I copied the code, I think there is another thing I didn't see, or it has to do with Mac, since Lorgon111 had the /gamerule maxCommandChainLength set to 999999, although on Mac this makes it overflow to no chain, only executing the first line of code in a function, a now resolved bug

I put my whole world in the download so you can check if it works for you.
I can't put a map in here, so I'll do the functions only.
I've done /gamerule gameLoopFunction conway:life

Awaiting Response

Zirk Seljee

2017-06-03, 01:41 PM

2018-07-30, 08:54 PM

2018-07-30, 08:54 PM

2

5

Unconfirmed

function

Minecraft 1.12 Pre-Release 7, Minecraft 1.12

-