mojira.dev
MCPE-38845

function command is limited to 10k commands rather then the maxCommandChainLength gamerule value.

Step to reproduce,

  1. Load the behavior pack (castle) into a flat world.

  2. execute the top level command /Function castle

Execute a function (.mcfunction file) with more then 10k commands. I have done this with all commands in a single file and with a function file that calls child functions.

 

Result:

I get the message feedback,  Successfully executed 10000 function entries.  

 

Expected Result:

I expect that the system would execute the number of functions set by the maxCommandChainLength gamerule value. the default being 65535

 

 

Attachments

Comments 5

[media][media][media]

In the 1.9.2 beta a new gamerule functioncommandlimit was added and seems to control this setting, I think this issue can be marked closed, or maybe you have to wait till it ships in a public release.

In the 1.9.2 beta a new gamerule functioncommandlimit was added and seems to control this setting, I think this issue can be marked closed, or maybe you have to wait till it ships in a public release.

The other bug I created was closed as works as designed. Here is a feedback feature request to upvote if you are interested in this functionality.  

 

https://feedback.minecraft.net/hc/en-us/community/posts/360032418291-increase-limit-of-gamerule-FunctionCommandLimit-

 

The other bug I created was closed as works as designed. Here is a feedback feature request to upvote if you are interested in this functionality.  

 

https://feedback.minecraft.net/hc/en-us/community/posts/360032418291-increase-limit-of-gamerule-FunctionCommandLimit-

 

the-hex

(Unassigned)

155887 / 140882

Unconfirmed

Windows

Microsoft Windows [Version 10.0.17134.345]

1.8.0.13 Beta

1.9.0.2 Beta

Retrieved