HomeJavaModsAE2AddonLib
AE2AddonLib
ModsJava

AE2AddonLib

by pedroksl · on CurseForge

A lib that aims to ease the development of AE2 addons. Free Minecraft Java mod for 1.20.1, 1.21.1.

⬇ Download on CurseForge

Maven Central Version

AE2AddonLib

A library to help AE2 Addon developers bring their mods into AE2 ecosystem.

Registry

Several classes were added to provide helper functions to make registering easier.

Registering becomes as easy as creating your class and adding a line for each thing you want to register calling a method that handles everything for you.

No messing with deferred registers, container classes are created for you, holding everything you might need in the future. Using AE2's "Definitions" for everything, as well as two additions, not present in the parent mod: Materials and Fluids!

There are also classes to help you handle your hotkeys and settings (for those left side menu buttons).

Widgets

This mod opens up several otherwise locked AE2 widgets. Some examples:

This library also ADDs new widgets, not present in AE2! Examples are:

Screens

This library also provides two general purpose screens:

Networking

A NetworkHandler is provided with helper methods to easily register your packets. Some packets are provided and handled by the lib, such as the packets used to handle fluid slots and toggling settings. For the 1.20.1 version, the network handler also provides all necessary tools to send your packets, which aren't available through forge.

Utility

The library also contains some miscellaneous useful classes, such as:

Documentation

The lib is 100% documented with javadoc. It can, and will, be improved upon. There are also some usage examples in the lib itself. You can also see AdvancedAE's github page, for a mod that uses almost every feature the lib has to offer.

Contributing

While the lib is at a great starting point, it can definitely grow and become an even more powerful development tool. Suggestions/Complaints are always welcome and appreciated. Your input is valuable and will make this tool better for everyone else.

AE2AddonLib is a free Minecraft Java mod. Compatible with Minecraft 1.20.1, 1.21.1. Downloaded 1,935,778 times (via CurseForge). Download it and open it directly in the game.

Explore more