mojira.dev
MC-259212

Directional damage tilt is still used for non-directional damage sources after taking damage from a directional damage source

The bug

Upon respawning / loading the world, the old damage tilt is used when taking damage from certain non-directional damage sources (e.g fall damage, drowning, fire damage) until the player takes damage from a damage source that produces the new screen tilt (e.g hurt by a zombie).

How to reproduce

  1. Respawn and use flint and steel on the floor and walk into it

  2. Notice that the old damage tilt is used

  3. Shoot yourself with a bow and arrow whilst burning

  4. Notice how the damage tilt is immediately changed - the initial directional damage tilt from taking damage from the arrow repeatedly continues while burning even though the player is no longer taking damage from the arrow

Linked issues

Attachments

Comments 16

The camera is supposed to only tilt to the sides when taking damage from non-directional sources, the bug here is actually that it gets stuck tilting in the last direction you got hit from. The original behavior (from before damage tilt broke in 1.3) was that non-directional damage sources would randomly tilt the screen either left or right, so I'd imagine that behavior should just be brought back. I recorded a couple videos of the current (bugged) behavior and the old behavior.

Seems more like it alternated left and right, rather than being random.

The title is a bit misleading but still i can confirm. Apparently non-entity caused damage doesn't register the direction.

Can confirm in: 1.20 Pre-release 2.

Can confirm for 1.20-pre5

6 more comments

Confirmed in 1.20.5-pre1

Confirmed in 1.20.5

Confirmed in 24w18a

Can confirm in 1.21.1

Duffy Springpat

Can confirm in 1.21.5 & 1.21.6 snapshots

Shuddery

(Unassigned)

Confirmed

Platform

Normal

Camera, Player

1.19.3, 23w03a, 23w04a, 23w05a, 23w06a, ..., 1.20.6, 24w18a, 1.21, 1.21.1, 24w35a

Retrieved