mojira.dev
MC-197274

The resistance effect doesn't reduce damage dealt from starvation

The Bug:

The resistance effect doesn't reduce damage dealt from starvation.

Steps to Reproduce:

  1. Switch into survival mode and give yourself both the hunger and resistance effects by using the commands provided below.

    /effect give @s minecraft:hunger 100 255
    /effect give @s minecraft:resistance 100 255
  2. Wait until you begin starving and watch your health closely.

  3. Take note as to whether or not the resistance effect reduces damage dealt from starvation.

Observed Behavior:

The resistance effect doesn't reduce damage dealt from starvation.

Expected Behavior:

The resistance effect would reduce damage dealt from starvation.

Attachments

Comments 5

Can confirm in 1.17.

Can confirm in 1.17.1.

Can confirm this behavior in 21w40a.

Can confirm in 21w41a. The expected behavior would be that the resistance effect reduces starvation damage.

I could be wrong, but I think there's a damage_type tag called bypasses_effects and it has starve in it?
Related issue : MC-269746

bugsbugsbugs

Avoma

(Unassigned)

Confirmed

Gameplay

Low

Player

resistance

1.16.1, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, ..., 1.21, 1.21.3, 1.21.4, 25w08a, 1.21.7

Retrieved