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
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
This is a duplicate of MC-172738, not related, it's even listed as one of the properties not serialized.
Can confirm, relates to MC-199033.
Video attached.
(with particles set to minmal so you can see the eyes of enders properly)