mojira.dev
MC-241141

Aquatic mobs attempt to pathfind through and get stuck inside non-full waterlogged blocks

Updated description from @unknown

The Bug:
Aquatic mobs (turtles, dolphins, axolotls, tadpoles, fish, etc...) attempt to pathfind through and get stuck inside non-full waterlogged blocks (fences, glass panes, iron bars, etc...).

Steps to Reproduce:
Enter a deep body of water.
Summon a hollow box of fences around yourself.
/fill ~5 ~-1 ~-5 ~-5 ~10 ~5 minecraft:mangrove_fence[waterlogged=true] hollow
Summon any aquatic mobs, for example, some turtles within the box.
Wait around a minute and observe the behavior of the aquatic mobs as they come in close proximity to the fences.
Take note as to whether or not aquatic mobs attempt to pathfind through and get stuck inside non-full waterlogged blocks.

Observed Behavior:
Aquatic mobs get stuck inside non-full waterlogged blocks.

Expected Behavior:
Aquatic mobs would not get stuck inside non-full waterlogged blocks.


Original Description:

When turtles are south of the fence, they will not choose other routes.

As shown in the video:

https://youtu.be/S32nHNqY6dY
Because the file is too big

Attachments

Comments 7

NO.The problem is similar, but the situation is different In this case, as long as the turtle is south of the fence, it will only go north. It's not to use food to attract creatures and monsters' sights before looking for players. The turtle situation is not caused by either.

You can see the difference in the video.

Please first read the report I mentioned properly. 

In that report, it is clearly stated that one of the causes of the bug is that pathfinding starts at the northwest corner, causing wrong assumptions, which explains the fact that the turtle needs to be south of the fence.

The thing with holding food doesn't really matter here: The turtle thinks that the only way going away is going into the same direction as the fence is, making it swim forever into the fence

Confirmed in 1.18.1

I can confirm this behavior though this ticket needs some major amendments so I have rewritten this report to concisely state the problem.

The issue here is that aquatic mobs (turtles, dolphins, axolotls, tadpoles, fish, etc...) attempt to pathfind through non-full waterlogged blocks (fences, glass panes, iron bars, etc...) resulting in them getting stuck.

The Bug:

Aquatic mobs (turtles, dolphins, axolotls, tadpoles, fish, etc...) attempt to pathfind through and get stuck inside non-full waterlogged blocks (fences, glass panes, iron bars, etc...).

Steps to Reproduce:

  • Enter a deep body of water.

  • Summon a hollow box of fences around yourself.

/fill ~5 ~-1 ~-5 ~-5 ~10 ~5 minecraft:mangrove_fence[waterlogged=true] hollow
  • Summon any aquatic mobs, for example, some turtles within the box.

  • Wait around a minute and observe the behavior of the aquatic mobs as they come in close proximity to the fences.

  • Take note as to whether or not aquatic mobs attempt to pathfind through and get stuck inside non-full waterlogged blocks.

Observed Behavior:

Aquatic mobs get stuck inside non-full waterlogged blocks.

Expected Behavior:

Aquatic mobs would not get stuck inside non-full waterlogged blocks.

Also, this issue is present in 1.19. 🙂

Thank you for your report!
We're tracking this issue in MC-144050, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

張育豪

(Unassigned)

Confirmed

Mob behaviour

1.17.1, 1.18.1, 1.19, 1.19.1

Retrieved