Adding Widgets
Add some widgets to your mod
spacespacespace
space
First create a new class and implement the Widgets interface
public class MyClass implements Wigdets
{
@Override
public void addWigdets(DynamicUtil dynamicUtil) {
}
@Override
public void addMainMenuWigdets(DynamicUtil dynamicUtil) {
}
@Override
public void loadWigdets(DynamicUtil dynamicUtil) {
}
}Create all the widgets in the addWidgets(DynamicUtil dynamicUtil) method
addWidgets(DynamicUtil dynamicUtil) methodTo Add a Widget to the TitleScreen or MainMenu you can override the addMainMenuWigdets(DynamicUtil dynamicUtil)
addMainMenuWigdets(DynamicUtil dynamicUtil)To load the widgets with the respective text and color, edit the loadWidgets(DynamicUtil dynamicUtil) method.
loadWidgets(DynamicUtil dynamicUtil) method.