Dolphins do not consistently get to nearby water when drying
Steps to reproduce
- Create a pool of water several blocks wide. Make the pool at least 2 water source blocks deep because of MCPE-122278. Use full height blocks (e.g. sand, grass, dirt, or clay) around the edge of the water because of MCPE-165109.
- Spawn several dolphins about 10 blocks away from the pool.
Expected result
Within a few seconds the dolphins start crawling toward the water.
Observed result
The dolphins constantly bounce in random directions. They occasionally bounce in the direction of the water 3-4 times in a row but then move in a random direction again. Some may land in the water by chance while others drift away from the water and dry out and die over time.
Linked Issues
Created Issue:
Dolphins do not consistently get to nearby water when drying
Steps to reproduce
- Create a pool of water several blocks wide. Make the pool at least 2 water source blocks deep because of MCPE-122278. Use full height blocks (e.g. sand, grass, dirt, or clay) around the edge of the water because of MCPE-165109.
- Spawn several dolphins about 10 blocks away from the pool.
Expected result
Within a few seconds the dolphins start crawling toward the water.
Observed result
The dolphins constantly bounce in random directions. They occasionally bounce in the direction of the water 3-4 times in a row but then move in a random direction again. Some may land in the water by chance while others drift away from the water and dry out and die over time.
relates to
discovered while testing
Note: this bug also affects any custom mobs that use behavior.move_to_water
Steps to reproduce
- Load move_to_water.mcworld
. It contains a long canal along which are test areas for this bug (grassy end) and MCPE-165109 (muddy end). The lever on the command block at the middle of the canal toggles the canal between 1 block deep and 2 blocks deep. The row of command blocks at each test area will spawn a dolphin, an axolotl, a baby turtle, and a pregnant frog. (Note: the frog spawns with the components for pregnant behavior, but not the is_pregnant bit, so it will not create frogspawn.) - Set the canal to 1 block deep.
- Press the button on the command blocks at the grassy end of the canal.
- After a minute or so, toggle the canal to 2 blocks deep.
- Press the button on the command blocks at the grassy end of the canal, again.
Expected result
After both steps (3) and (5) the mobs all start moving toward the canal within a few seconds.
Observed result
After step (3) the turtle freezes and the other mobs move randomly. After step (5) the axolotl, baby turtle, and pregnant frog move toward the water. The dolphin has an overriding issue reported at MCPE-181125 and can be ignored until that is fixed.
This issue seems to have several causes:
MCPE-44918in the 1.16.100 changelog may not have been effective. From looking at the json the only behavior changes between 1.16.0 and 1.16.100 are the separate parity change to drying out time, and renaming the events and component groups to no longer use the "minecraft:" namespace. No change was made to the data-driven behavior logic.Can confirm, although there's one thing: this also happens in Java Edition, and appears to be working as intended per
MC-128243.About point 2: JSON maps are unordered, and remove always happens before add regardless of their order in the file, so that one is not related
Thank you for your report!
However, this issue has been closed as Working as Intended.
If you need help or have a suggestion you might like to follow a link below.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki