Affects Version/s: Minecraft 18w19b, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13-pre9, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43a, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w03a, Minecraft 19w03b, Minecraft 19w03c, Minecraft 19w04a, 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 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.1 Pre-Release 1, Minecraft 1.14.1 Pre-Release 2, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2 Pre-Release 3, Minecraft 1.14.2 Pre-Release 4, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 2, Minecraft 1.14.3 Pre-Release 3, Minecraft 1.14.3 Pre-Release 4, 1.14.4, 19w37a
Fix Version/s: None
There're two kinds of mobs whose "hitboxes are bigger than 1*1 block":
1) Mobs which are , like polar bears. For further explanation, these mobs can't be spawned inside a narrow stream which has a 1-block width. When trying to do so, they'll be automatically spawned above water. Now, the problems occurs: when they run onto a narrow stream, they act like they're already in water, so they freeze there and don't take any further action. But they're still out of water, burning.
2) Mobs whose , like cows. These mobs can be spawned inside the narrow stream, but when in it, parts of their hitboxes sometimes can be inside the solid blocks on both sides of the stream, when they rotate to a specific range of angles. They also have problems: When burning, these mobs rotate rapidly when run onto a narrow stream of water.
HOW TO REPRODUCE: (TAKE A COW AS AN EXAMPLE)
Make a terrian and spawn a cow like Screenshot 1.
Before the cow moves into other places, put the cow on fire using flint and steel.
Notice how the cow will rotate rapidly above the narrow stream instead of going into the larger pond like Screenshot 2 & 3.
SUGGESTIONS OF HOW TO FIX:
1) For a first kind of mob, the best way to fix is to let it detect if the nearest water block is 1 block wide, or, in other words, if it cannot sink into that water block. If it indeed cannot, then it doesn't reach for that block, instead it directly reaches for the larger pond. If coding that in is difficult, then the mob can simply reach for the nearest water block and try to sink into it. If it cannot, then it reaches for the larger pond. , which means the mob cannot sink into water using any methods, then let the mob do the same as in the current release.
2) For a second kind of mob, it can sink into the narrow stream if it rotates to a certain angle, but it cannot sink into a single 1*1 block of water.
If it's a narrow stream, it doesn't need to rotate round and round and not sink into water. When it rotates to an angle it can sink in, simply let it sink in. If coding that in is difficult, then let the mob do the same as the first kind of mobs: either directly reaches for the larger pond, or reaches for the narrow stream, finds out its hitbox is bigger than 1*1, and reaches for the larger pond.
, then either let it rotate to a certain angle and sink in, or just let the mob do the same as in the current release, if the first choice to hard to code in, because there's no better way to let the mob sink in.
If it's a single 1*1 block of water, then it cannot sink in it. Let it do the same as the suggest way for the first kind of mobs.
If you don't understand some of my words, such as the "narrow stream", simply refer to the screenshots.