Adding tags to inspect and getItemDetail #461
Labels
area-Minecraft
This affects CC's Minecraft-specific content.
enhancement
An extension of a feature or a new feature.
Could it be possible to have the item/block tags show when running their respective turtle methods?
A great example would be to check if the tags of a block you inspect include the #[namespace]:ores tag, this means that they are a type of ore so your turtle can start mining.
Since the addition of tags in datapacks it is possible to tag items and blocks into groups. Forge does this a lot, ores, stone, etc.. The tags can be a really powerful tool and most functionality should be provided by forge itself. Whenever forge does not list a certain mod item/block under its extensive tag list you can add these tags by changing/updating the datapack that is being used for your server or world.
I am not fully into how tags can/are retrieved or how expensive (to compute) this would be but it seems to me that they added tags for a reason. They are put in a lot of in-game logic, even the base game has a few tags that are looked for to validate whether something can be planted or if something belongs to a class of blocks (signs,fences,walls). I cannot see any other reasoning behind this than that mojang wanted to group these blocks together because they are simply reskins or share behavior.
Pros:
Cons:
TL;DR; Is it possible to add item and block tags to their respective methods.
The text was updated successfully, but these errors were encountered: