mojira.dev
MC-26678

Damage wobble no longer shows direction of incoming damage

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

  1. Revert to 1.2.5 SSP and start a new creative world

  2. Build the contraption as shown in the image attachment below

  3. Fill the dispensers with arrows.

  4. 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)

  5. 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.

  6. 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.

  7. 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

  8. 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.

  9. This seemingly "cool aesthetic" actually has real gameplay value because it indicates to fighters where incoming damage is originating from.

  10. 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.

Related issues

MC-73853 Damage wobble no longer shows direction of incoming damage MC-143964 Player's arm and camera only jerk to the left when getting hurt MC-202355 Damage screen tilt is de-synced, defaulting to tilt left MC-202616 Damage tilt always tilts to the left, and not towards the source of the damage MC-202922 camera doesn't tilt to damage MC-203260 Directional screen tilt damage indicator hasn't been working since 1.3 java edition MC-203265 Damage tilt still not working MC-203482 Screen Tilts Towards Damage doesn't work MC-203526 Incorrect attack angle communication from server to client. MC-203715 Damage tilt indicator does not work correctly MC-203742 Directional Damage Indicator MC-203760 This bug has been here since 1.3 has been released MC-203793 Directional damage indicator has not worked properly of EIGHT YEARS MC-204269 Attacked Camera Angle Tilt MC-204669 screen tilts to the left when taking damage MC-204809 Damage tilt always towards left MC-204851 Damage Tilt Indicator MC-205503 damage shake issue MC-212154 Camara tilt MC-212359 Telling the serever to send the camera the angle(PLS  fix this fast. It is only onle little piece of code.) MC-212835 Directional camera when hit via mob not working correctly. MC-227955 Camera does not tilt towards damage direction MC-231021 Damage Needs to be Fixed!

Attachments

Comments

migrated
[media][media]
kumasasa

Confirmed.

williewillus

Confirmed all the way up to 14w18a

williewillus

Confirmed all the way up to 14w29b

williewillus

Confirmed to 1.8-pre3. please fix!

williewillus

Confirmed tup to 15w46a. Please fix.

shufboyardee

This would be great to have back, yes!

williewillus

Confirmed to latest snapshot (November 18).
This would really really be a good (re)addition to combat. Please fix it!
It's just syncing one more field back to the client.
Thanks

williewillus

Confirmed up to 16w32b

JUE13

Confirmed for 17w16b

JUE13

Confirmed for 17w17a

williewillus

Confirmed for 1.12

williewillus

Confirmed for 1.13.x and 1.14

pulpetti

Affects 1.16.1

pulpetti

Affects 20w27a

XjCyan1de

Confirmed for 20w28a

user-a4a49

Confirmed in 20w29a.

muzikbike

Did the direction dead mobs fall ever depend on the direction of incoming damage?

XjCyan1de

Confirmed in 1.16.2

Iosiv Visokogorskiy

So sad to see "won't fix".

JD

I know you don't have to do this, but do you have a reason for marking this "Won't Fix?" I'm more than familiar with some bugs just not being worth fixing, but when the problem and solution has been pinpointed by forge developers in the video here, I don't think it can fall in that category.

Henry Verrill

Please fix this! It would be immensely helpful! Why "wont fix"? Even if you won't fix it, just give a reason!

slicedlime

The issue tracker is not a discussion forum. If you disagree with an issue resolution, please bring it up on the MOJIRA subreddit or discord.

marcono1234
Naten Klokkentoren

Why it can't be a toggleable option in Accessibility options ;-:

Iaroslav Vlasiuk

If you REALLY want it back, install this mod.

Marek Poláček

Look. I never knew that screen tilt was ever a thing so I never actually saw that as a bug, just a feature. I wouldn't actually think that this would be a bug in some way before I read about it and saw this video: https://youtu.be/pAJPc71YOnY

For PVP community this would be a good feature and without having to install mods in order to fix the bug, it would be great to have that in game. I think that servers that do not run modded version running this mod will still work the same, even if you have the mod installed, but I don't know if it actually works just by sending that piece of information to the client or it actually uses some clever math tricks to compute that kind of missing information in case that information is missing.

If the later is true, then using this mod may actually result in ban on some PVP competitive servers (Factions, UHC, Skywars, etc.) because this isn't just a visual effect like resource pack lowering fire and shortening swords (which is purely aesthetics to better see around you) which everybody can install and if someone doesn't have them - well that's their fault. This is actually real gameplay feature and it can give serious piece of information about whereabouts of other players attacking you. Kind of like minimap mod showing you whereabouts of other players in your proximity. There are players that for some reason cannot install mods, or don't want to. If you fix that bug and maybe add a little toggle option to turn it off (return back to the now classic left-tilt feature - actually bug), those who opt it out and turn it off won't be entitled to accuse players using that feature for cheating, because it will be vanilla game feature now. Of course, x-ray is something that doesn't exist in vanilla game, or at least nothing intentional. In previous versions, you could x-ray caves by putting your head into a glowstone or (in case of fast graphics) in leaves, though you wouldn't see unexposed ores anyway, just where the caves are, this is now considered bug (that has been fixed anyway) and many servers prohibit abusing bugs for your advantage.

However, screen tilting towards the inflicted damage is something that should be in game and as it turns out it has been before, it didn't work on servers though as the code for sending that bit of information to the client was missing. Seriously, how hard is to add I guess one little line of code to send that information to client amongst other ones?

slicedlime

I'll repeat myself: The issue tracker is not a discussion forum. If you disagree with an issue resolution, please bring it up on the MOJIRA subreddit or discord.

Adrian Östergård

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 previous comment on where you can hold discussions.

If you don't respect the rules of the bug tracker, you may be banned.

GolfinhoVoador

Confirmed for: 1.16.3, 1.16.4, 20w45a

SPGoding

@unknown, the ticket was already resolved as Won't Fix, thus we generally no longer add new affected versions to it.

Undead Deity

@SPGoding I thought a mod mentioned in the Mojira subreddit this was internally marked for reassessment

violine1101

I thought a mod mentioned in the Mojira subreddit this was internally marked for reassessment

internally being the key word here. This bug report remains resolved until Mojang decides to reopen it.

numeritos

I've seen a lot of emails regarding new comments on this report.

You can discuss about this issue on the Mojira subreddit post: https://www.reddit.com/r/Mojira/comments/jhd3aa/why_was_mc26678_marked_as_wont_fix/

Kokoapadoa

The thread linked above will soon be archived, as it will soon be 6 months old. I've created a proactive reddit thread so when the thread is inevitably archived, people can still comment their gripes without clogging up the comment section.

MishaGold

IT GOT FIXEDDDDDDDDDD

Nonno

FINALLY! WOW! AMAZING!

BaconSeer

Been watching this one for years. Thank you for finally fixing it. 🙂

Kokonut

only took 9 years

muzikbike

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.

Chorus bed

Relates to MC-269238.

muzikbike

Also relates to MC-225335.

williewillus

slicedlime

Confirmed

Networking, Rendering

12w18a, damage, shake

Minecraft 1.5.2, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.6.3, Minecraft 13w37b, ..., 20w08a, 1.16.1, 20w29a, 1.16.2, 1.19.3

23w03a

Retrieved