AE2AddonLib
This library is designed to simplify the integration of addon modifications into the Applied Energistics 2 ecosystem.
Registry
Several helper classes are provided for content registration, eliminating complex processes. All you need to do is create your classes and call relevant methods that handle everything independently — you won't have to work with deferred registration. The library takes care of container classes and uses AE2's definitions for operation; it also supports extra types like materials and fluids.
Widgets
The library gives access to user interface graphics from AE2 and introduces new widgets:
- General interface buttons;
- Reusable buttons with distinct appearance;
- Machine-setting togglers;
- Side-screen action buttons;
- A full-fledged color picker and a fluid widget.
Extra Widgets
- Slider
- Color Picker
- Updated ToolbarActionButton
- Fluid Tank Slot
Screens
Additional windows such as ‘Output Direction’ and ‘Set Amount’ allow you to create convenient and user-friendly interfaces.
Networking
‘NetworkHandler’ performs all packet-related operations, freeing you from networking chores.
Utility Classes
Alongside the main features, the library includes various helpful tools:
- The Colors class offers color conversion and utility;
- BlockUpgradeItem supports upgrade items;
- WaterBasedFluidType creates fluid textures;
- AddonEnum helps handle compatibility with other modifications;
- AE2AddonModelProvider provides graphical tools;
- ConnectedTexturesBaseBakedModel prepares textures.