-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 1.13.2, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 1, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, 20w51a, 1.17, 1.17.1, 1.18.1, 1.19, 1.19.1, 1.19.4, 23w14a, 1.20.1, 24w05a, 1.21
-
None
-
Confirmed
-
Mob behaviour
A pathfinding bug for fishes that occures in cases if the "fish entity" enters into a non full, waterlogged block (fences, iron bars). This affects both solo fishes or individuals inside schools.
I think it's work like this:
- As the basic phatfinding AI leads the fish entity into a block it tries to lead it into the exact center of that block.
- If that block is a full water block there is no broblem at all.
- If the block is a waterlogged fence or iron bars, the fish can't get into the center, instead it's goes into some kind of "Im on my way there" state.
If the entity once got into such waterlogged block, it will never tryes to move again. As soon as the player destroys the fence or iron bars, the fish immediately starts to move again freely.
My opinion is: The pathfinding fish entity is getting itself stuck in a never ending "i want to go there" loop if it can't enter into or pass trough the center of a water block.
EDIT:
This thing occures most of the times if the player goes away and returns to the area.. As I see most of the times it affects fishes that want to go beyond the actual waterloged block cause if the block is destroyed they immediately start to move at the direction they was facing.
It's just a speculation, but I think to correctly develop the bug the player must go away from the fish (out of the fish AI proicessing range or even put the fish into a lazy cunk) once it's looks like it's stuck inside the waterlogged fence or iron bars block. When the player returns the fish AI somehow forgets to guide fishes wich are "stuck" in such blocks.
To reproduce this:
- make a pool, and create some waterlogged fences, iron bars, stairs etc. inside it.
- Put in some fish
- Wait and see.
- IF you see a fish got "stuck" in the waterloged block go away from it.
- Return and the fish will not move itself ever again until you destroy the waterlogged block.
- is duplicated by
-
MC-168858 Fish get stuck in iron bars
- Resolved
-
MC-241084 Turtle stuck in the fence
- Resolved
-
MC-241141 Aquatic mobs attempt to pathfind through and get stuck inside non-full waterlogged blocks
- Resolved
-
MC-253816 Underwater Animal Glitch
- Resolved
-
MC-254790 Frogs will keep swimming in wooden fences containing water without trying to change paths.
- Resolved
-
MC-274724 Axolotls gets close to iron bars in water.
- Resolved
- relates to
-
MC-160209 Fish get stuck in glass panes
- Open
-
MC-275004 Tadpoles swimming in waterlogged slabs or stairs pathfind onto land causing them to die
- Open
-
MC-228174 Axolotls try to pathfind through two block tall walls
- Reopened