mojira.dev
MC-234907

Sculk sensors are not activated upon players being damaged by melee sources

The Bug:

Sculk sensors are not activated upon players being damaged by melee sources.

Steps to Reproduce:

  1. Build the setup as shown in the attachment below.

[media]
  1. Give yourself the regeneration effect and alter your knockback resistance attribute by using the commands provided below.

    /effect give @s minecraft:regeneration 999999 7 true
    /attribute @s minecraft:knockback_resistance base set 10
  2. Spawn a husk on top of the diamond block.

  3. Switch into survival mode, approach the husk, allow it to hurt you multiple times, and watch the sculk sensor closely.

  4. Take note as to whether or not sculk sensors are not activated upon players being damaged by melee sources.

Observed Behavior:

Sculk sensors are not activated.

Expected Behavior:

Sculk sensors would be activated.

Linked issues

Attachments

Comments 3

Further investigating regarding this issue has brought to light the fact that this can also be seen when non-player entities damage you as well. Since I'm the reporter of this ticket, I've updated it accordingly to reflect this new information.

Can confirm in 1.18.1

Still an issue as of 22w03a

Avoma

(Unassigned)

Confirmed

Gameplay

Normal

Game Events

sculk_sensor

1.17.1, 21w38a, 21w42a, 1.18 Pre-release 1, 1.18, ..., 1.19.2, 1.19.3, 1.19.4, 1.20.1, 1.21

Retrieved