mojira.dev
MC-303394

Instant effects don't work on newly-respawned playeres

Players are immune to instant effects immediately after respawning.

To reproduce:

  • Create a new world with the attached data pack installed.

  • Kill the player using /kill.

  • Upon respawning, the minecraft:proc function will run, which attempts to give the player Instant Damage. It also prints a message so you know the function was actually ran.

The expected result is that immediately upon respawning, the player will take damage from the Instant Damage effect. However, this does not happen. The problem also persists when attempting to use the /damage effect instead of inflicting Instant Damage.

Attachments

Comments 0

No comments.

scheineraustin

(Unassigned)

Unconfirmed

(Unassigned)

25w42a

Retrieved