Package net.uku3lig.ukulib.api
Interface UkulibAPI
public interface UkulibAPI
This interface is used to integrate your mod with Ukulib.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanThis method is used to enable or disable the integration with Mod Menu.Function<net.minecraft.client.gui.screen.Screen,AbstractConfigScreen<?>> This method is used to show your mod's config screen in the Ukulib config screen.
-
Method Details
-
supplyConfigScreen
Function<net.minecraft.client.gui.screen.Screen,AbstractConfigScreen<?>> supplyConfigScreen()This method is used to show your mod's config screen in the Ukulib config 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.
-