mojira.dev
MC-276422

Leaded llamas keep spitting at the player when they switch gamemodes

Llamas that are leaded (e.g. attached to a fence or by a mob/player) will continuously spit at the player when they are attacked even when the player switches gamemode. This doesn't happen with any other mob or when the llama isn't on a lead.

Relates to MC-208315, MC-215097, and MC-154053

Steps to Reproduce:

  1. Attach a lead to llama and attach it to a fence

  2. Attack the llama in survival mode

  3. Switch your gamemode into Spectator or Creative mode.
    ❌ The llama continues to spit on you while you are not in survival mode

Linked issues

Attachments

Comments 3

Bluebird

(Unassigned)

Confirmed

Gameplay

Low

Mob behaviour

1.21.1, 24w36a, 24w37a, 24w38a, 24w39a, ..., 1.21.2 Pre-Release 2, 1.21.2, 1.21.3, 1.21.4 Pre-Release 1, 1.21.4

Retrieved