mojira.dev
MCPE-169387

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

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.

Attachments

Comments 3

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Could you please attach an addon that showcases the issue?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki

Hello, sure!

I have attached an addon that reproduces the issue.

It contains a behavior pack with the only change being setting the `can_teleport` property to false in the `minecraft:behavior.follow_owner` behavior of the wolf.

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Due to the recent changes to Wolf behavior, the addon does not appear to trigger the described behavior. Is the issue still present?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Edward Burke

(Unassigned)

Plausible

Windows

Windows 11

Addons

1.19.73

Retrieved