Head rotates in the wrong direction while riding
The bug
It affects all gamemodes, when you are riding a mob (no minecart or boat) and you look around in this person view, it twists your head backwards if you look in the opposite direction of the mob.
Here is a video demonstrating it:
http://www.youtube.com/watch?v=5zV4kRict30
Code analysis
See Madeline Miller 's comment.
Linked Issues
is duplicated by34
- Fixed
Harrison Barnes
[Mojang] Jeb (Jens Bergensten)- 35
- 21
- Confirmed
- carrot_on_a_stick head passengers pig-riding riding rotation
1.4.2 - 1.12
1.4.2 1.4.7 13w09a 1.5 1.5.1 1.5.2 1.7.5 14w11b 1.7.6-pre1 1.7.6-pre2 1.7.9 14w19a 14w21b 14w31a 14w32b 1.8-pre1 1.8-pre3 1.8 1.8.1-pre3 1.8.1 1.8.2-pre1 1.8.3 1.8.4 1.8.7 1.8.8 15w31a 15w36d 15w37a 15w43c 15w44a 15w46a 15w49a 1.8.9 15w50a 15w51b 16w06a 1.9 1.9.1 1.9.2 16w14a 16w21a 1.10.1 1.10.2 16w32a 16w32b 16w33a 16w35a 16w39a 16w39c 16w40a 1.11 1.11.2 17w06a 17w15a 17w17b 17w18a 17w18b 1.12- 1.6.2 1.12
Created Issue:
While Pig Riding - Head On Backwards
It affects all gamemodes, basically what it is, is when you are riding a pig with a carrot on a stick, if you are in third person, if you look around, it twists your head back wards, it can be on backwards, heres my video of it.
- Unresolved
- Open
- Public
- Unconfirmed
- Survival
- carrotandstick pig_riding
- 1.4.2
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
While Pig Riding - Head On BackwardsHead rotates in the wrong direction while riding a horse, donkey or pig
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
relates to
is duplicated by
is duplicated by
is duplicated by
is duplicated by
Head rotates in the wrong direction while riding ahorse, donkey orpig
is duplicated by
Head rotates in the wrong direction while riding (a pig)
A comment with security level 'global-moderators' was removed.
is duplicated by
is duplicated by
is duplicated by
is duplicated by
relates to
relates to
relates to
is duplicated by
is duplicated by
Head rotates in the wrong direction while riding (a pig / shulker / horse)
Head rotates in the wrong direction while riding (a pig / shulker / horse / spider)
is duplicated by
It affects all gamemodes, basically what it is, is when you are riding a pig with a carrot on a stick, if you are in third person, if you look around, it twists your head back wards, it can be on backwards, heres my video of it.
It affects all gamemodes, when you are riding a mob (no minecart or boat) and you look around in this person view, it twists your head backwards if you look in the opposite direction of the mob.
Here is a video demonstrating it:
http://www.youtube.com/watch?v=5zV4kRict30
Head rotates in the wrong direction while riding(a pig / shulker / horse / spider)
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
It affects all gamemodes, when you are riding a mob (no minecart or boat) and you look around in this person view, it twists your head backwards if you look in the opposite direction of the mob.
Here is a video demonstrating it:
http://www.youtube.com/watch?v=5zV4kRict30The bug
It affects all gamemodes, when you are riding a mob (no minecart or boat) and you look around in this person view, it twists your head backwards if you look in the opposite direction of the mob.
Here is a video demonstrating it:
http://www.youtube.com/watch?v=5zV4kRict30Code analysis
See Madeline Miller 's comment.
is duplicated by
Confirmed in 1.12.2
relates to
is duplicated by
Duplicate of MC-1207, please use the search function to see if your bug has already been submitted. Currently over 45% of tickets are being closed as duplicate.
Duplicate of MC-1207, please use the search function to see if your bug has already been submitted. Currently over 52% of tickets are being closed as duplicate.
Duplicate of MC-1207, please use the search function to see if your bug has already been submitted. Currently over 53% of tickets are being closed as duplicate.
Duplicate of MC-1207, please use the search function to see if your bug has already been submitted. Currently over 53% of tickets are being closed as duplicate.
Duplicate of MC-1207, please use the search function to see if your bug has already been submitted. Currently over 56% of tickets are being closed as duplicate.
Confirmed.
The viewpoint is not being updated, if the pig rotates.
Looks like a regression of MC-1207
I think this is duplicate of MC-1207, but this ticket covers not only pig riding.
This can be marked as duplicate of MC-1207, which was reopened recently.
Duplicate of MC-1207
Duplicate of MC-1207
Duplicate of MC-1207
Probably MC-1207
Please close the issue beacuse is a duplicate MC-1207
Dupe of MC-1207
Relates to or duplicates MC-1207
Duplicate of MC-1207, if you have not, please use the search function in the future
This issue duplicates MC-1207
Seems to be related to MC-1207.
This issue duplicates MC-1207
Ok, prepare for something... Could please a mod mark the versions for every bug I tell you here? That would be nice.
I have a world set up for fast bug testing. That means that going into each bug report and saying "Confirmed for 1.10.1" is way more work than actually testing it. So I want to confirm for 1.10.1 with this comment:
MC-4, MC-9, MC-14, MC-87, MC-112, MC-201, MC-212, MC-234, MC-258, MC-460, MC-577, MC-667, MC-679, MC-696, MC-697, MC-849, MC-868, MC-926, MC-957, MC-997, MC-1040, MC-1127, MC-1133, MC-1168, MC-1207, MC-1218, MC-1297, MC-1390, MC-1429, MC-1530, MC-1531, MC-1538, MC-1541, MC-1555, MC-1578, MC-1673, MC-1685, MC-1691, MC-1981 and MC-2023.
All of these are tested in 1.10.1. For some others I have additional information:
MC-711 not testable with my setup because of a crash that's new in 1.10.1.
MC-779: At least some appear outside, didn't test all. What's sure is that no general solution got introduced.
Confirmed MC-1511 for stone button, lever, torch, redstone dust, normal rail, end rod, tripwire hook, ladder and flower pot. Others are untested.
Confirmed MC-1874 for chest, brewing stand, enchanting table and flower pot. Others are untested. It's apparent that there isn't a general solution here either.
This issue duplicates MC-1207.
This issue duplicates MC-1207.
Duplicates MC-1207
This is NOT a duplicate of MC-1207 because that is for the riders head rotation, this bug is when you ride a pig while using a carrot on a stick, the pig's body stays facing one direction no matter where you ride it.
I did duplicate my own issue but that one was resolved as a duplicate of MC-1207 where it wasn't a duplicate.
The demonstration shows the bug.






I can duplicate this easily.
Confirmed. When riding a minecart or boat the whole player turns when the head turns, but on a pig the pig and player stands still and only the head rotates owl-like.
I Thought that was a feature to make it more like riding like a horse
Confirmed on snapshot 13w06a
This is the same of
MC-1545.Confirmed for Donkey in 14w19a.
confirmed for 14w31a
confirmed for 14w32b
Confirmed for 1.8-pre1.
Confirmed for 1.8-pre3
Confirmed for 1.8.
I can also confirm for 1.8.1-pre3
I can confirm for Minecraft 1.8.1 and 1.8.2-pre1
Confirmed 1.8.3
This has happened to me. I'm not sure if it's fixed by now as it only happened yesterday before I logged off, so...yea!
Confirmed for 1.8.4, appears to be effective whenever the player is riding any entity, including armor stands and all mobs that weren't mentioned here. It also appears to invert the yaw aspect of the head as well as the pitch.
Not only for players, I spawned a zombie with my head riding a zombie horse. The head was backewards on it, too!
It makes it hard to take what I was building seriously.
Confirmed in 1.8.7.
Confirmed for 1.8.8.
Confirmed for 15w43c.
Confirmed for 15w44a.
Confirmed 15w46a
Please add that this effects riding all mobs aside from Boats
Can confirm for 15w51b. This also affects mobs riding other mobs (or Armor Stands in my case)
Confirmed for 16w06a
Can confirm for Release 1.9.
confirmed for 1.9.2
Confirmed for 1.10.1.
Before everyone starts adding random entities, I removed the list. And as I was already on it, I changed the description. I'm pretty sure that minecarts and boats are the only exceptions to this, but if there are more, feel free to correct me.
Confirmed for 16w39a.
Confirmed for 1.11.
Confirmed for 17w06a.
Confirmed for 17w15a.
Confirmed for 17w18b
So I've been looking into this issue, and it appears to be caused by the rotation offset applied in doRender, in RenderLivingBase. If an entity is riding an entity that extends EntityLivingBase, the 'f' value is modified, which is the rotation point for the body.
This is applied as a global rotation, which breaks head rotations. f2 could be modified, however that's linked to body rotation eventually as well. It appears it'll need to pass extra info through to solve this.
(Everything using MCP names for 1.11.2)
@Madeline Miller to be honest I think the bug is that you can rotate that far at all. Instead the rotation should be restricted like it is currently the case with boats.
@marcono1234 I disagree with that completely. Yes, specific things like boats should restrict rotation. However there was a use case that I had (years ago at this point, so idr) that would rotate an entity with no AI separately from the entity it was riding.
I'm pretty sure I was attempting to use an armor stand as a marker for where a villager was standing while rotating the villager to face a specific direction. I think I would have had to rotate both the armor stand and the villager to face that direction if I wanted to get it to work correctly. It would be even worse if I had to rotate the armor stand specifically before the villager, otherwise the villager would pop back to whatever direction it is forced to look by what you are suggesting.
After extensive testing, I can say that the highlighted line in the following image fixes the problem without any loss of functionality: http://i.imgur.com/H06P4AI.png
This is using MCP names, but should be super easy to transfer to MC names.
Confirmed for 1.12.
I can confirm this was fixed in 1.12 using the above code. I had a quick chat to Grum and he confirmed that it was merged in for 1.12, and I've re-ran the tests I ran when I made the patch with vanilla 1.12 and it is working as it should.