This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I'm trying to convert a few command block contraptions to functions. Which method is better?
Method 1:
Make all the functions then in one single function call all the functions and use the gameLoopFunction gamerule.
Method 2:
Make each function loop on it's own by calling itself at the end.
I'm also a bit confused about the maxCommandChainLength gamerule. Does each loop add towards the total commands or do loops not count.
For example: Say we have a function called "test"
say hi
say hello
say cool!
function folderName:test
Would that be 4 commands or infinity commands because the loop will continue forever?
I'm trying to convert a few command block contraptions to functions.
Which method is better?
Method 1:
Make all the functions then in one single function call all the functions and use the gameLoopFunction gamerule.
Method 2:
Make each function loop on it's own by calling itself at the end.
I'm also a bit confused about the maxCommandChainLength gamerule. Does each loop add towards the total commands or do loops not count.
For example: Say we have a function called "test"
say hi
say hello
say cool!
function folderName:test
Would that be 4 commands or infinity commands because the loop will continue forever?