When I die to a Zombified piglin, they continue to attack me when i go into the nether. I tried making sure the rule was set to forgive dead players and it was true. I tried relogging multiple times but it would not work.
To reproduce
/gamerule forgiveDeadPlayers true
/gamerule commandBlockOutput false
Go overworld spawn chunks, or forceload the overworld chunk you are in
/setblock ~ ~ ~ minecraft:repeating_command_block{auto: 1b, Command: "execute as @e[type=minecraft:zombified_piglin] if data entity @s AngryAt run effect give @s minecraft:glowing 1"}
/execute in minecraft:the_nether run teleport @s ~ 129 ~
Find a good area with several groups of zombified piglins at varying distances from the player (fly around in spectator, switch to creative to get mobs to spawn)
Once you’ve found a good area, press F3+C to copy your location to the clipboard
Go into survival mode
Punch a zombified piglin and let them kill you
Paste the command into the chat to get back to the area
You will likely notice that some of the zombified piglins further from your death location are still glowing, indicating they still have aggro on you. Depending on the geography, they may pass this aggro onto the ones close to you, causing them to kill you again. If not, try again or try finding better geography.
Linked issues
is duplicated by 1
Attachments
Comments 3
Can confirm, I suspect some zombified piglins are not being ticked on the tick the player dies and thus retain their AngryAt tag. I will add reproduction steps to the description (edit: done).
[media]It can also try to attack creative players. See MC-300900
Please do not mark issues as private, unless your bug report is an exploit or contains information about your username or server.