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

Player Movement Doesn't Work Properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.18.10.27 Beta, 1.18.10.26 Beta, 1.18.0.24 Beta, 1.18.0.22 Beta, 1.18.0.20 Beta, 1.17.40.23 Beta, 1.17.40.20 Beta, 1.17.30.24 Beta, 1.17.30.23 Beta, 1.17.30.22 Beta, 1.17.30.21 Beta, 1.17.30.20 Beta, 1.17.11 Hotfix, 1.17.20.22 Beta, 1.17.20.21 Beta, 1.17.10, 1.17.10.23 Beta, 1.17.1 Hotfix, 1.17.10.20 Beta, 1.17.0.58 Beta, 1.17.0.56 Beta, 1.17.0.54 Beta, 1.17.0.52 Beta, 1.17.0.50 Beta, 1.16.230.56 Beta, 1.16.230.54 Beta, 1.16.220, 1.16.230.50 Beta, 1.16.220.52 Beta, 1.16.220.51 Beta, 1.16.220.50 Beta, 1.16.210.61 Beta, 1.16.210.60 Beta, 1.16.210.59 Beta, 1.16.210.58 Beta, 1.16.210.57 Beta, 1.16.210.56 Beta, 1.16.210.55 Beta, 1.16.201 Hotfix, 1.16.210, 1.16.221 Hotfix, 1.17.0, 1.18.2 Hotfix, 1.18.30.33 Preview, 1.18.12 Hotfix, 1.19.20.24 Preview, 1.19.11 Hotfix, 1.19.63, 1.20.50.22 Preview, 1.20.50.23 Preview, 1.20.41 Hotfix
    • Confirmed
    • Multiple
    • 528115

      When attempting to change a players movement speed via behavior events where a component group is added with a new movement value, the movement will take effect for about a tick and then revert back to default, even when the movement component has been removed from the general components section. This requires us to use an environment sensor (or some other method) to update movement every tick, which will cause unnecessary lag, especially with multiple players.

      This is probably happening with underwater movement as well.
      Perhaps a potential fix could be adding the attributes system that Java Edition has?

      Steps To Reproduce:

      1. Download, install and start a new world with the supplied pack (experimental features on)
      2. Run the following command
        /event entity @s player_movement
      1. Observe that your movement speed will speed up for a tick
      2. Run the following command
        /tag @s add player_movement
      1. Your movement speed will now be properly doubled
        1. The tag is a trigger for an environment sensor trigger that will constantly trigger the player_movement event (with multiple players this can get quite laggy)

      Expected Results:

      • Player movement saves across component groups without the need to constantly update it

      Actual Results:

      • Player movement reverts to the original movement when not constantly updated

       

            Gruntastic Gruntastic
            Votes:
            10 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: