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.
Linked issues
is duplicated by 5
Attachments
Comments 39
@unknown You mean MC-90191. Please do not hijack unrelated tickets.
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.
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?)
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.