src/main/java/dev/rlnt/energymeter/client/gui/MeterScreen.java
private <T extends Widget> void addButtons(List<T> buttons) {
        for (T button : buttons) {
            addButton(button);
        }
    }
/**
     * Convenience method to add multiple buttons at once.
     *
     * @param buttons the list of buttons to add
     * @param <T>     the button class
     */
Convenience method to add multiple buttons at once.
@param buttons the list of buttons to add
@param      the button class
Convenience method to add multiple buttons at once . @param buttons the list of buttons to add @param the button class
private <T extends Widget> void addButtons(List<T> buttons) {
        for (T button : buttons) {
            addButton(button);
        }
    }
private < T extends Widget > void addButtons ( List < T > buttons ) { for ( T button : buttons ) { addButton ( button ) ; } }
Convenience method to add multiple buttons at once.
Convenience method to add multiple buttons at once .