mojira.dev
MC-205879

follow_range attribute seemingly has no effect on Phantoms

It seems that phantoms aren't affected by the follow_range attribute. I spawned an unmodified phantom and looked at its attributes, and follow_range is one of the ones that it comes with, however if you set the value of the attribute to zero, it will still attack players.

Steps to recreate:

Run command: /summon phantom ~ ~ ~ {Attributes:[{Name:"generic.follow_range",Base:0.0}]}

Go to Survival or Adventure mode

The phantom will still attack you.

Linked issues

Comments 1

Conure512

(Unassigned)

Unconfirmed

(Unassigned)

1.16.4

Retrieved