mojira.dev
MC-221126

Eyes of Ender summoned with commands always shatter after their time is up

The bug

Eyes of Ender summoned with commands always shatter.

Expected result

Summoned eyes of ender would have a 10% chance of shattering as hand-thrown eyes of ender do.

To reproduce

1. Run /summon eye_of_ender near 0,0.
2. Do it many times.
Notice how none of them drop eyes.
Interestingly, they all play the sound as if they were fine.

Code analysis

Code analysis by @unknown can be found in this comment.

Attachments

Comments 4

Can confirm, relates to MC-199033.
Video attached.

[media]

(with particles set to minmal so you can see the eyes of enders properly)

This happens because eyes only set surviveAfterDeath in signalTo, which is only called for hand-thrown eyes. And the survive property is not serialized to NBT

Can confirm in 1.17.1.

This is a duplicate of MC-172738, not related, it's even listed as one of the properties not serialized.

Bobby N.

(Unassigned)

Confirmed

Commands, Entities

eye_of_ender

1.16.5, 21w11a, 21w13a, 21w14a, 1.17.1, 22w15a

Retrieved