Ae2 Addon Lib Wiki › Guides › Create a Custom Machine Menu with Buttons and Sliders
Create a Custom Machine Menu with Buttons and Sliders
Building Your Machine Interface
AE2 Addon Lib provides pre-built menu widgets styled to match Applied Energistics 2's aesthetic. You can assemble a professional-looking interface without designing buttons from scratch.
Available Widgets
- Standard Buttons: Use unlocked buttons from AE2 for common actions (confirm, cancel, settings).
- Slider Widget: Add a slider control that fits the tech menu style for adjusting numeric values like speed or output rate.
- Color Picker: Include a full hex-code color picker for machines that need color configuration.
- Fluid Tank Slot: Add a specialized slot widget designed specifically for fluid tank displays.
Implementation Steps
1. Create your custom screen class using the addon library's menu framework.
2. Add widgets by calling the appropriate builder methods for each control type.
3. Bind widget values to your machine's data using the provided data synchronization tools.
4. Position widgets using the standard coordinate system (widgets auto-scale to fit).
5. Test the menu opens when you right-click your machine and responds to interactions.