Currently, the spear can be used to dismount any damageable passenger from any mount, regardless of whether or not the passenger is a living entity, has AI, is riding a living entity, or is even capable of taking damage.
Steps to reproduce:
/summon item_display ~ ~1 ~ {Passengers:[{id:"armor_stand",Invulnerable:1b,Invisible:1b},{id:"minecart",Invulnerable:1b,NoGravity:1b},{id:"creeper",NoAI:1b,Invulnerable:1b}]}
Hop on a horse, switch to Survival, and ram the suckers
All entities dismount, despite a) the root vehicle being a purely intangible display entity, b) all passengers being invulnerable, c) the minecart and armor stand being non-living entities, d) the armor stand being invisible, e) the minecart lacking the gravity from which to even fall from its mount, and f) the creeper having no AI.
This can be verified by running /data get entity @n[type=minecraft:item_display] Passengers, which will return empty.
As it stands this could be quite hazardous to datapacks that rely on any form of stacked entities, as any common highwayman now possesses the tools necessary to scatter them to the wind.
Attachments
Comments 0
No comments.