Armorstands, silverfish and endermites in boats spin rapidly
Expectation: Armor stand would just chill in the back.
Reality: https://www.youtube.com/watch?v=a617KVNG-LI
No, I did not have a teleport command running to rotate it or anything. Yes, this world was created in the version used.
Steps to reproduce are in the video, but also below
/summon Boat ~ ~ ~ {Passengers:[{id:"Skeleton"},{id:"ArmorStand"}]}
Armor Stands only start to spin once the boat is rotated. The more the boat is rotated from the south direction, the more it spins, plus the more you wait, the faster it spins. It seems to just rapidly switch from south to its correct rotation. Something about the armor stand's direction not correctly updating according to the boat's rotation.
Code analysis by Marcono1234 can be found in this comment.
Environment
Windows 10
JRE 8u45
Linked Issues
is duplicated by3
Created Issue:
Boats with armorstand passengers rapidly spin
Expectation: Armor stand would just chill in the back.
Reality: https://www.youtube.com/watch?v=a617KVNG-LINo, I did not have a teleport command running to rotate it or anything. Yes, this world was created in the version used.
Environment
Windows 10
JRE 8u45
Expectation: Armor stand would just chill in the back.
Reality: https://www.youtube.com/watch?v=a617KVNG-LINo, I did not have a teleport command running to rotate it or anything. Yes, this world was created in the version used.
Steps to reproduce are available in the video.
Boats with armorstand passengersrapidlyspinArmorstands in boats spin rapidly
relates to
Expectation: Armor stand would just chill in the back.
Reality: https://www.youtube.com/watch?v=a617KVNG-LINo, I did not have a teleport command running to rotate it or anything. Yes, this world was created in the version used.
Steps to reproduce are available in the video.
/summon Boat ~ ~ ~ {Passengers:[{id:"Skeleton"},{id:"ArmorStand"}]}
Expectation: Armor stand would just chill in the back.
Reality: https://www.youtube.com/watch?v=a617KVNG-LINo, I did not have a teleport command running to rotate it or anything. Yes, this world was created in the version used.
Steps to reproduce are
availablein the video./summon Boat ~ ~ ~ {Passengers:[{id:"Skeleton"},{id:"ArmorStand"}]}Expectation: Armor stand would just chill in the back.
Reality: https://www.youtube.com/watch?v=a617KVNG-LINo, I did not have a teleport command running to rotate it or anything. Yes, this world was created in the version used.
Steps to reproduce are in the video, but also below
/summon Boat ~ ~ ~ {Passengers:[{id:"Skeleton"},{id:"ArmorStand"}]}
relates to
is duplicated by
Armorstands, silverfish and endermites in boats spin rapidly
is duplicated by
Expectation: Armor stand would just chill in the back.
Reality: https://www.youtube.com/watch?v=a617KVNG-LINo, I did not have a teleport command running to rotate it or anything. Yes, this world was created in the version used.
Steps to reproduce are in the video, but also below
/summon Boat ~ ~ ~ {Passengers:[{id:"Skeleton"},{id:"ArmorStand"}]}
Armor Stands only start to spin once the boat is rotated. The more the boat is rotated from the south direction, the more it spins, plus the more you wait, the faster it spins. It seems to just rapidly switch from south to its correct rotation. Something about the armor stand's direction not correctly updating according to the boat's rotation.
is duplicated by
Expectation: Armor stand would just chill in the back.
Reality: https://www.youtube.com/watch?v=a617KVNG-LINo, I did not have a teleport command running to rotate it or anything. Yes, this world was created in the version used.
Steps to reproduce are in the video, but also below
/summon Boat ~ ~ ~ {Passengers:[{id:"Skeleton"},{id:"ArmorStand"}]}
Armor Stands only start to spin once the boat is rotated. The more the boat is rotated from the south direction, the more it spins, plus the more you wait, the faster it spins. It seems to just rapidly switch from south to its correct rotation. Something about the armor stand's direction not correctly updating according to the boat's rotation.
Code analysis by Marcono1234 can be found in this comment.
Aifer Gettisneim 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.
Confirmed for
Marcono1234: You're thinking of MC-90148.
Marcono1234: You mean MC-90148
No I was really talking about the fact that the boat (not only the paddles) spins
How did you get the armour stand in the boat?
Marcono1234: But this ticket is about the armor stand spinning. Create a new ticket if the boat is spinning for you.
Still in 47a. Would be nice if ticket included:
Thanks, done.
@dodo comododo
It's in the video. Hence why I wrote "steps to reproduce are in the video".
@Kumasasa
Thanks for adding it to the ticket.
@Kumasasa
Could you maybe change the post to say:
"Steps to reproduce are in the video, but also below".
I can't edit anything on mobile.
Confirmed for 16w03a
Cannot confirm fixed for 16w04a
Once you start moving with the boat, the ArmorStand starts spinning again
Affects Silverfish and Endermites as well
Affects 16w05a.
Confirmed for 16w05b, but one thing; Armor Stands only start to spin once the boat is rotated. The more the boat is rotated from the south direction, the more it spins, plus the more you wait, the faster it spins. It seems to just rapidly switch from south to its correct rotation. Something about the armor stand's direction not correctly updating according to the boat's rotation.
Affects 16w07a.
Affects 16w07b.
confirmed for 1.9 pre-1
Affects 1.9 Pre-Release 2.
Confirmed for 1.9-pre4
Confirmed for 1.9
Hm...
Confirmed for
Please link to this comment in the description
The following is based on decompiled version of Minecraft 1.9 using MCP 9.24 beta. All method and class names are the names used in the decompiled version.
In general it looks like this is caused by wrong values for the fields net.minecraft.entity.EntityLivingBase.prevRenderYawOffset and net.minecraft.entity.EntityLivingBase.renderYawOffset. As I am not very familiar with how the rendering exactly works the following is only an assumption and observation of what happens when you change something. The changes mentioned might only fix the symptoms of the bug, but not the bug itself.
ArmorStands
If net.minecraft.entity.item.EntityArmorStand.updateDistance(float, float) does not update the field net.minecraft.entity.EntityLivingBase.prevRenderYawOffset anymore, the method net.minecraft.entity.EntityLivingBase.onUpdate() adds 360f to it and no rendering bug occurs.
Silverfish and Endermites
The methods net.minecraft.entity.monster.EntitySilverfish.onUpdate() (Silverfish) and net.minecraft.entity.monster.EntityEndermite.onUpdate() (Endermite) set a value for the field net.minecraft.entity.EntityLivingBase.renderYawOffset. Removing this code prevents the rendering bug from occurring.
Shulkers
Shulkers are still not completely fixed because they rotate slightly while rotating a boat.
Preventing the methods net.minecraft.entity.monster.EntityShulker.onUpdate() and net.minecraft.entity.monster.EntityShulker.onLivingUpdate() from setting values for the fields net.minecraft.entity.EntityLivingBase.renderYawOffset and net.minecraft.entity.EntityLivingBase.prevRenderYawOffset prevents this bug from happening.
Keep in mind that these changes are no fix suggestions
Affects 1.9.4.
Thanks for the help Marcono1234, though I fixed it by making sure that the endermite/silverfish updates all rotations