-
Bug
-
Resolution: Unresolved
-
None
-
1.16 Pre-release 2, 20w46a, 20w51a, 21w03a
-
None
-
Confirmed
-
Mob behaviour
-
Low
-
Gameplay
The bug
The new forgiveDeadPlayers and universalAnger gamerules do not apply to llamas, dolphins, and spiders in the daylight. They will always act as if forgiveDeadPlayers is true and universalAnger is false.
Additionally, the further improvements to neutral mob behaviour were not implemented for these mobs either. As such, they stop attacking you when you leave the world or when you switch dimension / go into unloaded chunks.
Reference: https://twitter.com/henrikkniberg/status/1268765029777772549
How to reproduce
forgiveDeadPlayers
- /gamerule forgiveDeadPlayers false
- Summon a llama
- Switch into Survival
- Hit the llama
- Before the llama attacks you, run /kill
→ The llama no longer tries to attack you
universalAnger
- /gamerule universalAnger true
- Summon a spider in the daylight
- Switch into Survival
/execute at @e[type=spider] run summon potion ~ ~1 ~ {Owner:[I;0,0,0,0],Item:{id:"splash_potion",tag:{Potion:"harming"},Count:1b},Motion:[0.0d, 0.0d, 0.0d]}
→ The spider doesn't attack you
Logging out
- Summon a llama
- Switch into Survival
- Hit the llama
- Close and reopen the world
→ The llama doesn't attack you
Unloading chunks
- Summon a spider in the daylight
- Switch into Survival
- Hit the spider
- Switch dimension or go into unloaded chunks
- Return to the spider
→ The spider no longer tries to attack you
- relates to
-
MC-195278 If the "universalAnger" is set to true, certain neutral mobs don't fight back when you attack them
- Reopened