Note
The comment section in the bug tracker is only meant for providing additional information regarding a bug report, it's not meant to be used as a forum for discussion. Please see @unknown's comment on where you can hold discussions.
If you don't respect the rules of the bug tracker, you may be banned.
@unknown's comment
The bug
In 1.2.5 SSP and before the little wobble to the whole viewport that occurs when you take damage used to indicate the direction the damage came from. As part of the 1.3 client/server merge, this behavior was lost.
Steps to view correct behavior
Revert to 1.2.5 SSP and start a new creative world
Build the contraption as shown in the image attachment below
Fill the dispensers with arrows.
Exit MC and use NBTExplorer to change the world to survival mode (alternatively play survival until you obtain those items or open a copy of a current world)
Facing forward, strafe left into the left pressure plate. Arrow will hit you and the viewport will tilt to the right, simulating the head whiplash.
Facing forward, strafe right into the right pressure plate. Arrow will hit you and the viewport will tilt to the left, simulating the head whiplash.
Facing forward, walk into the front pressure plate. Arrow will hit you and the viewport will tilt DOWN, simulating being hit in the top of the head by something
Facing forward, back into the rear pressure plate, Arrow will hit you and the viewport will tilt UP, simulating being hit in the back of the head and having forward whiplash.
This seemingly "cool aesthetic" actually has real gameplay value because it indicates to fighters where incoming damage is originating from.
Repeat all steps in latest version (no need to use NBT editors just open to lan with cheat mode to switch gamemode). Notice how the viewport will always tilt right no matter what.
Code analysis (MCP Names)
EntityLivingBase.attackedAtYaw
is not synced to the client, causing an animation present in the client to not be correctly rendered.
Linked issues
is duplicated by 23
relates to 2
Attachments
Comments 41
MC-265044 can probably be marked as related - both reports involve the camera not tilting under specific circumstances while they used to in previous versions.
Relates to MC-269238.
Also relates to MC-225335.
Confirmed.