Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-163487

Allay under a non-full block as roof, that follows a player, will cause massive amounts of lag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.50.21 Preview, 1.19.31 Hotfix, 1.19.40
    • None
    • Confirmed
    • Multiple
    • 921927

      Bug

      Allays that are placed under a non-full block as a roof will try to escape that area to "wander" around. If the Allays are assigned by a player to be their owner, it will try to follow the player if it gets too far and moves very quick. However, because it is stuck, it will try to follow the player and cause massive amounts of lag. With multiple Allays this effect is easily noticeable.

      Steps to reproduce

      1. Open Allay Lag Test-1.mcworld
      2. Summon Allays using the command
      3. Give all Allays an item. Can be found in the barrels, but anything works
      4. Move towards the pistons and activate them using the lever
      5. Watch how the pistons move when you move closer or further away from the Allays
      6. Repeat steps 2 till 5 using glass blocks (as full blocks). Use the command blocks.

      Expected Results

      Full and non-full blocks: The world would run normally and the Allays won't try to cause massive amounts of lag

      Observed Results

      Non-full blocks: When moving away, the game runs slower, the pistons move slower and the Allays try to move all into each other just to reach the player. When you move closer it restores itself

      Full blocks: There is no visible difference between moving away towards or away from the Allays, this just works fine with no lag issues.

      More information

      The provided world is made in the latest Preview (1.19.50.21), but I have also tested this in another world in 1.19.31

      This includes most non-full blocks. I have also tested this with stairs and slabs and got the same results. Trapdoors were the easiest to showcase.

      In this video I will show you the steps to reproduce: https://youtu.be/BMOhSJydUWs

            ItsRichHeart ItsRichHeart
            Votes:
            5 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: