Pineapple Tags
Pineapple Tags is a lightweight library designed to streamline element classification in modpacks and game modifications. While its functionality resembles tag systems from later Minecraft versions, it doesn't replace the OreDictionary used in crafting tables.
This system enables the creation of custom labels for virtually any objects. When tags are applied to blocks or items, developers can convert between the ore dictionary and tags, and vice versa. Attempts to use incompatible data types for conversion are simply ignored.
It's important to note that direct synchronization between the two systems is impossible - any updates require re-declaration of relevant elements before usage.
Mods compatible with Pineapple Tags receive centralized tag management through TagsManager when declaring tags in their configuration files. This mechanism ensures stable interaction between different addons through a shared tagging system. For crafting recipe integration, the library provides a unified Ingredient class that simplifies incorporation into synthesis tables.