mojira.dev
MC-145119

Cannot /clear by type #minecraft:impermeable (exclusive to type)

Preface:

Ran across this bug while creating a 1.13.2 adventure map.

The command that fails:

/clear @a #minecraft:impermeable

Error:

Unknown item tag 'minecraft:impermeable'

Reason this is a bug:

The item tag is known and functions properly in other commands such as /fill

/fill x1 y1 z1 x2 y2 z2 minecraft:air replace #minecraft:impermeable

In addition, other item tags work with the /clear command

/clear @a #minecraft:wool

Comments 3

Not all block tags have an item equivalent. You are free to create the tag yourself though in a data pack

#minecraft:impermeable refers to all stained glass blocks, as well as glass itself.  Every glass block has an item associated with it, I would think that it was intended for both purposes... no?

Nicholas Sorah

(Unassigned)

Unconfirmed

Minecraft 1.13.2, Minecraft 19w09a

Retrieved