mojira.dev
MC-233740

Bow Damage Does not Update HurtTime NBT data on Player

Recreate: place in repeating command block or ticking mcfunction file:

execute as @e[nbt={HurtTime:10s}] run say hi

or

execute as @a[nbt={HurtTime:10s}] run say hi

Shoot self with arrows. Note that shooting other mobs works as expected.

I did not test this with other players, only in single player.

Comments 3

try to execute /execute as @e[nbt={HurtTime:9s}] run say hi

does it work?

maybe works as intended. relates to MC-117360

Hmm, odd. Yes setting it to HurtTime:9s does work!

nick w

(Unassigned)

Unconfirmed

(Unassigned)

1.17.1

Retrieved