Minecraft wiki entry for Tag, associated text: Item tags can be called when testing for item arguments in commands with #<resource location> or in recipes and advancements using "tag": "<resource location>", which succeeds if the item matches any of the items specified in the tag. They can also be searched in the creative inventory by searching #<resource location>.