mojira.dev
MC-192836

NoAI mobs can enter boats and minecarts

The bug

Mobs with the NoAI tag can still enter boats if their collision collides with the boat's.

Note: The strange behavior when entering the boat in the video is due to MC-167299

How to reproduce

  1. Summon a NoAI mob

    /summon villager ~1 ~ ~2 {NoAI:1}
  2. Summon a boat on top of the mob

    /summon boat ~ ~ ~2
  3. Get in the boat. If you do not start slowly moving downwards, get out of the boat and try again. This may take a few attempts.

  4. Get out of the boat. The mob should now be in the boat

Linked issues

Attachments

Comments 13

I am unable to reproduce this, please provide a screenshot of your game with your F3 debug screen enabled.

I have attached a screenshot.

I can confirm for 1.16.3

Can confirm in 20w49a. I've attached an additional video. Here are some useful commands to reproduce this problem.

/summon boat ~ ~ ~2
/summon villager ~1 ~ ~2 {NoAI:1}

Can confirm in 20w51a.

3 more comments

Can confirm in 1.16.5 and 21w18a.

Can confirm in 1.17.

Can confirm in 1.17.1.

Can confirm in 1.18.2 and 22w12a.

Can confirm in 1.19.2.

BCNOFNeNaMg

(Unassigned)

Confirmed

Mob behaviour

1.16.1, 1.16.3, 1.16.4, 20w49a, 20w51a, ..., 23w14a, 1.20.1, 1.20.2, 1.20.4, 1.21.2 Pre-Release 2

Retrieved