The Bug:
When phantoms are hindered to fly up after their attack, their AI can guide them into flying under water such that they drown (see attached video). Possibly related to MC-125252
Steps to Reproduce:
I have created a roofed cage at sea surface (see attached image), where the phantom can try to attack, but can not harm the player. When it tries to fly away it is hindered by the roof. Attached please find a datapack with functions
to set up the structure,
to observe the bug
and to clean up again
These include setting useful gamemodes, teleporting to proper positions, killing remaining phantoms etc.
Create new world with seed -2430049209890141612 in creative mode, which has a spawn point near oceans
Install the datapack
Start world
Fly to a position over deep ocean
Call function gulbaru:mc-126419_a_setup
Observe the bug: Repeatedly call function gulbaru:mc-126419_b_showcase_bug and observe how the phantom can not fly up as intended and ends up flying into water, where it will drown after some time.
Call function gulbaru:mc-126419_a_cleanup
Linked issues
duplicates 1
Attachments
Comments 0
No comments.