mojira.dev
MC-90923

Boats and minecarts not picking up armor stands

The bug

Boats and minecarts are unable to pick up armor stands even if (in case of the minecart) it has a high enough speed to pick up entities. Note that minecarts picking up armor stands is explicitly intended: https://twitter.com/seargedp/status/497030467359477760

Code analysis

The following is based on a decompiled version of Minecraft 1.9 using MCP 9.24 beta.

The reason for this is that the method net.minecraft.util.EntitySelectors.func_188442_a(Entity) is used to get potential passengers. This method is also used for entity collision (pushing other mobs) and calls the method net.minecraft.entity.Entity.canBePushed() to test if the entity can be pushed at all. For the ArmorStand this method returns false.
Additionally the currently used method would respect the team option collisionRule which does not make very much sense for boats in my opinion. Would only make sense for pushing away the mob if it cannot become a passenger.

Related issues

Attachments

Comments

migrated
[media][media]
migrated

I would also like to mention that placing an ArmorStand into a boat via commandblocks causes them to rapidly rotate rather than face forward. This applies to the lastest snapshot, 15w43b.

kumasasa

@unknown You mean MC-90191. Please do not hijack unrelated tickets.

migrated

I couldn't find such an issue in the search. Pardon me, but I find that response very discrediting. It is most obviously not my intention to "hijack" issues with my own. I would have preferred if this opportunity were taken to remind users that each specific bug is given their own issue and encouraged to vote up those issues as well. Something along the lines of:

"AiferGettisneim there is a separate issue for that! MC-90191 I would recommend voting up this issue so it gets noticed more easily. If you don't already know, we create separate issues for each distinctive bug to make them easier to find!"

Something like that, would not make me feel like I'm only running around causing problems...but I don't expect a possibly unpaid volunteer moderator to take advise from a lowly user. So whether you feel this is worth considering is up to you. I just felt some good public relations was needed; although I may be making a big deal out of nothing.

migrated

I'd like to add that armor stands aren't living mobs, they are non living like arrows, item frames, etc
this is probobly the reason they aren't getting picked up (and might be intended to be so?)

kumasasa

@unknown I'm sorry that my answer has irritated you, that wasn't my intention.

migrated

Not going to bother adding the other 2 15w47 snapshots, samething applies though

shufboyardee

Still in 16w03a.

migrated

Haven't had a mouse so I haven't been able to test anything for like the last 2 months.

marcono1234

Cannot confirm fixed for 16w04a

shufboyardee

Affects 16w05a.

shufboyardee

Affects 16w07a

shufboyardee

Affects 16w07b.

shufboyardee

Affects 1.9 Pre-Release 2.

shufboyardee

Affects 1.9.4.

marcono1234

Please link to this comment in the description

The following is based on a decompiled version of Minecraft 1.9 using MCP 9.24 beta.

The reason for this is that the method net.minecraft.util.EntitySelectors.func_188442_a(Entity) is used to get potential passengers. This method is also used for entity collision (pushing other mobs) and calls the method net.minecraft.entity.Entity.canBePushed() to test if the entity can be pushed at all. For the ArmorStand this method returns false.
Additionally the currently used method would respect the team option collisionRule which does not make very much sense for boats in my opinion. Would only make sense for pushing away the mob if it cannot become a passenger

migrated

Affects Version/s 1.12.1

MCweb

What is intended, that boats/minecarts do or do not pick up armor stands?

lord.quadrato

Confirmed for 18w22c

migrated

Confirmed for 1.13.2-pre2.

migrated

Still can't get armor stands in boats or minecarts in 1.14.4 Pre-Release 3.

migrated

Confirmed that 1.14.4 is still affected!

migrated

Confirmed for 19w42a

migrated

Confirmed for 1.15

migrated

Affects 1.16 Release Candidate 1

migrated

Confirmed/Reproduced in 20w28a.

FivesBlue

Confirmed for 20w45a

Avoma

Can confirm in 21w03a.

Avoma

Can confirm in 21w07a.

Avoma

Can confirm in 21w11a.

Avoma

Can confirm in 21w14a.

Avoma

Can confirm in 21w17a.

migrated

Affects 1.17

ampolive

Can confirm in 1.17.1.

migrated

Can confirm in 21w44a, 1.18 Pre-release x

Avoma

Can confirm in 1.18.

Avoma

Can confirm in 1.18.1.

Avoma

Can confirm in 1.18.2.

Avoma

Can confirm in 1.19.2.

J4PC

Can confirm in 1.21

[Mod] markderickson

(Unassigned)

Confirmed

Platform

Normal

Entities, Minecart

armor_stand, boat, minecart

Minecraft 15w42a, Minecraft 15w43c, Minecraft 15w44a, Minecraft 15w44b, Minecraft 15w45a, ..., 1.20.1, 23w51b, 1.21, 24w34a, 25w05a

Minecraft 16w04a

Retrieved