This pull request updates the Almost Unified integration to resolve tags to their respective preferred items.
I am currently using an approach with a guarded static class to prevent class loading in case the mod is not present. Previously, this used the EnderIO integration system. But since the integration system is now part of the enderio-base module and the TagUtil method where the integration is required is part of the endercore module, I was not able to use the integration system.
Feel free to adjust this. This PR just serves as a notice of the availability of the mod. It now uses an API artifact that should be safe to compile against in the future as well.
Edit: In the future, it might be a good option if EnderIO expands the integration by defining its own unifiers. That way tags wouldn't need to be resolved to items anymore. It's also a lot more convenient for pack devs but I will discuss this in the contributor channel on Discord when the wiki for that is ready.
This pull request updates the Almost Unified integration to resolve tags to their respective preferred items.
I am currently using an approach with a guarded static class to prevent class loading in case the mod is not present. Previously, this used the EnderIO integration system. But since the integration system is now part of the
enderio-base
module and theTagUtil
method where the integration is required is part of theendercore
module, I was not able to use the integration system.Feel free to adjust this. This PR just serves as a notice of the availability of the mod. It now uses an API artifact that should be safe to compile against in the future as well.
Edit: In the future, it might be a good option if EnderIO expands the integration by defining its own unifiers. That way tags wouldn't need to be resolved to items anymore. It's also a lot more convenient for pack devs but I will discuss this in the contributor channel on Discord when the wiki for that is ready.