Minecraft wiki entry for Tag, associated text: Entity type tags can be called in type target selector argument and loot table conditions with #<resource location>, which checks if the entity's type matches any of the entity types specified in the tag.