Class LazyboostMenu

java.lang.Object
io.github.zhengzhengyiyi.LazyboostMenu
All Implemented Interfaces:
com.terraformersmc.modmenu.api.ModMenuApi

public class LazyboostMenu extends Object implements com.terraformersmc.modmenu.api.ModMenuApi
Implementation of ModMenuApi to integrate with the ModMenu mod. This enables a "Config" button in the ModMenu interface that opens the configuration screen powered by Cloth Config (via AutoConfig).
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.terraformersmc.modmenu.api.ConfigScreenFactory<?>
    Creates a factory for the mod configuration screen.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.terraformersmc.modmenu.api.ModMenuApi

    attachModpackBadges, getProvidedConfigScreenFactories, getProvidedUpdateCheckers, getUpdateChecker
  • Constructor Details

    • LazyboostMenu

      public LazyboostMenu()
  • Method Details

    • getModConfigScreenFactory

      public com.terraformersmc.modmenu.api.ConfigScreenFactory<?> getModConfigScreenFactory()
      Creates a factory for the mod configuration screen. This method is called by ModMenu to display the config UI.
      Specified by:
      getModConfigScreenFactory in interface com.terraformersmc.modmenu.api.ModMenuApi
      Returns:
      a ConfigScreenFactory that creates the config screen for Lazyboost