mojira.dev
MC-159647

Animals can follow a player even if they do not see it

The bug

Animals follow players holding flowers, even if they cannot see the player.

This is a very interesting mechanic and might be intended.

To reproduce

  1. Build an enclosure for an animal with pressure plates on the floor

  2. Connect the pressure plates to redstone lamps

  3. Summon an animal, such as a sheep, a pig, or a bee inside of the enclosure, so that it should never be able to see the player

  4. Hold an item to lure the animal, such as wheat, a carrot, or flowers, and walk around
    → ❌ The animal will always follow the player, even if it does not see it

Video

[media]

Linked issues

Attachments

Comments 2

What do redstone lamps have to do with this?
I don't understand.

EDIT: I see, it is to see if the animal moves

Confirmed for 19w35a

You can also reproduce this just by using third person view (f5) to see behind a wall

violine1101

(Unassigned)

Community Consensus

Mob behaviour

1.14.4, 19w34a, 19w35a

Retrieved