Mojira Archive
MCPE-126439

Commands and UI Are Delayed With Larger Add-Ons

When using behaviour packs with lots of files (more noticeable with more files). When attempting to run commands / open the command UI, there is a significant delay for each instance:

  • Opening the command UI with /
  • Running commands as a player
  • Running commands from command blocks
  • Running commands from entities
  • Running commands from custom blocks
  • Running commands from custom items

After the command is run, there will no longer be a delay for the rest of that session. After reloading each delay will have to be re run. Which can lead to lag and or errors.

 

Steps To Reproduce:

  1. Install the supplied add-on and load a world with it
  2. Attempt to run a command
    1. Observe a delay when opening the command UI with '/' as opposed to just opening the chat UI
    2. Observe several delays when running commands from blocks, items, entities, etc.

Expected Results:

  • Commands are instanced when loading the world rather than there being significant delays when attempting to run commands.

Actual Results:

  • There are several delays when using commands and the command UI when using add ones with large behaviour packs