Interface UkulibAPI


public interface UkulibAPI
This interface is used to integrate your mod with Ukulib.
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    This method is used to enable or disable the integration with Mod Menu.
    UnaryOperator<net.minecraft.client.gui.screen.Screen>
    This method is used to show your mod's config screen in the Ukulib config screen.
  • Method Details

    • supplyConfigScreen

      UnaryOperator<net.minecraft.client.gui.screen.Screen> supplyConfigScreen()
      This method is used to show your mod's config screen in the Ukulib config screen. The lambda parameter is the parent screen.
      Returns:
      A function that takes a parent screen and returns a config screen.
    • enableModMenuIntegration

      default boolean enableModMenuIntegration()
      This method is used to enable or disable the integration with Mod Menu.
      Returns:
      Whether to enable the integration with Mod Menu.