The idea behind this suggestion is to allow a way for commands to test the contents of a slot in the player's inventory against a data pack tag, whether that's through an existing construct, like the "tag" portion of an item's NBT data, or through some entirely new method.
This would be similar in functionality to using a tag in a custom recipe to specify several different items that can be interchanged in the recipe. In the case of custom recipes, this allows data pack authors to use only one recipe instead of requiring them to write one recipe for each item in the tag.
When applied to player inventory slots, this would basically allow data pack authors to check for any one of a group of items, as defined by a data pack tag, without requiring one command for each item test.
Please sign in to leave a comment.
3 Comments