mojira.dev
MC-206307

Arrow of Harming bypasses Totem of Undying

If an Arrow of Harming's base arrow damage is enough to kill while you're holding a Totem of Undying, the Harming damage is dealt after the totem activates. You can even bypass the totem entirely with only a Harming II Arrow.

Steps to Reproduce:

  • Run "/kill" to ensure you have full health and no player-assigned attributes.

  • Set the "naturalRegeneration" gamerule to "false" to avoid yourself from regenerating.

/gamerule naturalRegeneration false
  • Obtain a totem of undying, a bow, and an arrow of harming with instant damage 2.

  • Hold the totem of undying in your offhand and the bow in your main hand.

  • Switch into survival mode and teleport yourself 23 blocks upward so that you have half a heart of health remaining.

/tp @s ~ ~23 ~
  • Look upwards and shoot yourself using the bow and harming arrow.

  • Take note as to whether or not harming arrows can bypass the totem of undying.

Linked issues

Attachments

Comments 24

I can confirm for 1.16.4

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 21w06a.

Can confirm in 21w07a.

14 more comments

Can confirm for 1.21.

This is intended game design, You receive the arrow damage 1st, breaking your totem and the the instant damage effect kills you a second time

 

How it works != how it is intended. Totems are intended to keep the user alive after a hit. The player is hit once, not twice.

I test this in 25w16a, it only works if the arrow is shoot by yourself. If the arrow is from other player or from dispenser, the player would not be killed.

John Downey

(Unassigned)

Confirmed

Gameplay

Important

Entities, Player

1.16.4, 20w46a, 20w48a, 20w49a, 20w51a, ..., 1.21.1, 24w34a, 24w46a, 1.21.4, 25w16a

Retrieved