Registering Custom Widgets
If you want to allow DynamicHUD to save and load your custom widgets automatically then this MUST be done FOR ALL your custom widgets. Otherwise, your custom widgets wont load and result in a crash upon startup.
To register custom widgets, you can override the registerCustomWidgets() to register the widget data of your custom widgets by using:
@Override
public void registerCustomWidgets() {
WidgetManager.registerCustomWidget(MyWidget.DATA);
}Last updated
Was this helpful?