mojira.dev
MC-226583

The "Is it a ___?" advancements are not granted if you look at a target mob through an invisible entity

The bug

If you use a spyglass to look at a parrot, ghast, or the ender dragon through an invisible mob the "Is it a bird?", "Is it a balloon?", and "Is it a plane?" advancements are not granted even though you can see the target mob.

To reproduce

  1. Summon a parrot and an invisible magma cube by using the commands provided below.

    /summon minecraft:parrot ~10 ~ ~ {NoAI:1b}
    /summon minecraft:magma_cube ~5 ~ ~ {NoAI:1b,Size:3,Glowing:1b,active_effects:[{duration:-1,amplifier:0b,id:"minecraft:invisibility"}]}
  2. Obtain a spyglass and look at the parrot through the invisible magma cube.

Linked issues

Attachments

Comments 8

Can confirm in 1.17.

Can confirm in 1.17.1.

Can confirm in 1.18.1.

Can confirm in 1.18.2 and 22w19a.

Can confirm in 1.19.

Can confirm in 1.19.1.

Can confirm in 1.19.2.

pine1needle

(Unassigned)

Confirmed

Gameplay

Low

Advancements

1.17 Pre-release 1, 1.17 Pre-release 2, 1.17 Pre-release 3, 1.17, 1.17.1, ..., 23w14a, 1.20.1, 23w31a, 1.20.4, 1.21.4

Retrieved