Skip to Content
ParametersEntity Type Tags

Entity Type Tags

Use the etag:[entity type tag] parameter to more efficiently search for entities included in the tag.

Tags are a Minecraft concept for organizing blocks, items, and entities into groups. There are quite a lot already defined in Minecraft but you can also create your own via datapacks.

For example, etag:minecraft:aquatic would search for any aquatic mobs. See the full list .

You can even supply multiple tags, like etag:minecraft:aquatic,minecraft:boat.

Defining your own tags would be an extremely powerful way to group entity types.

Read more about Tags .

Negation

As of Prism 4.4, this parameter allows negation. Negating an action will exclude results. It is important to note that unlike Prism 3, the syntax has the exclamation point before the colon. You cannot use a negated parameter with its normal equivalent.

Example: /pr l etag!:minecraft:aquatic (Queries all entity types except those in the "minecraft:aquatic" tag)