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

Entity jumps on the spot when the "can_teleport" property is set to false in the "follow_owner" behavior

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.73
    • Plausible
    • Windows

      When setting the `can_teleport` property to false in the `minecraft:behavior.follow_owner` behavior for an entity, the entity always gets stuck jumping on the spot when trying to jump up a block while trying to follow its owner. This starts happening after the owner has exceeded the `start_distance` value and the mob attempts to jump up a block while following.

      Here is a sample of the `minecraft:behavior.follow_owner` behavior that causes the issue on a wolf, for example. The only change here from the vanilla wolf is the `can_teleport` property is set to false:

      "minecraft:behavior.follow_owner": {                    
          "priority": 6,                    
          "speed_multiplier": 1.0,                    
          "start_distance": 10,                    
          "stop_distance": 2,                    
          "can_teleport": false                
      }

      Steps to reproduce

      1. Download the sample addon attached to this issue and apply its behavior pack to a new world.
      2. Load up the world.
      3. Tame a wolf and have it follow you up some blocks.

      Expected result

      • Entity does not jump on the spot when attempting to jump up a block to follow its owner.

      Actual result

      • The entity jumps on the spot when attempting to jump up blocks while following its owner.

        1. 2023-04-09 01-05-33.mp4
          550 kB
          Edward Burke

            OrANgE x Eddie Edward Burke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: