mojira.dev
MC-264515

Phantom Goal allows them to attack you through dimensions

When a player, that is targeted by a phantom, changes dimension (nether for example), the targeting phantom keeps tracking the player as if it was in the overworld and can even damage/kill the player.

 

The conditions for this bug are:

-Phantom was targeting player before TP/entering dimension

-Coordinates before and after the TP are close (so that the phantom does not loose agro)

-The chunks where the phantom lives are loadded

 

Steps to reproduce:

In creative, create a nether portal at 8, 128, 8 (so the coordinates in the nether will be around 0~16, 64~128, 0~16)

If it is day, set to night or create a platform above the portal (so that phantoms will not burn)

Load the chunks (using /forceload command) around the portal (3x3 chunk is anough) 

Block the sides of the portal so only a player can walk into

Create a platform next to the portal with open top and spawn a few phantoms on it.

Set gamemode to survival and wait for phantoms to agro you

Enter the portal

Get damaged after a few second~minute by a phantom in the nether (the delay comes from phantom having to change direction to atack your new coordinates in the nether, which probably aren't at the same altitude/position).

With a spectator account that watches the overworld it will be even more visible.

 

This bug is very specific and almost never occurs in Vanilla without dimensions added by data packs (because the nether has a x8 coordinates scales, meaning the bug can only occur around ~0 ~0), but datapacks that add dimension will run into this bug quite often if they use a x1 coordinate scale with the overworld.

To my understanding, this bug comes from the agro of a mob not checking if it's target is in the same dimension, and probably affect other monsters too (only tested with phantom so far, since it is the mob that killed me in the nether while it was in the overworld)

Linked issues

Comments 3

Not sure if this is a duplicate or not, but this seems very similar to the described behavior of MC-149563

Yes, it's a duplicate of MC-149563.

Thank you for your report!
We're tracking this issue in MC-149563, 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

jira_is_annoying

(Unassigned)

Unconfirmed

(Unassigned)

1.20.1

Retrieved