Class ClientHooks
java.lang.Object
my.celium.org.client.ClientHooks
Client-only entry points for Mycel's config UI.
Never reference this class from common/server code - it (transitively)
loads net.minecraft.client classes, which do not exist on dedicated
servers. Server-safe callers go through Mycel.openConfigScreen(...),
which uses a reflection-guarded proxy. Loader client entrypoints may
call these methods directly.
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.client.gui.screens.ScreencreateConfigScreen(Object parent, String modId) Creates the config screen formodId, orparentwhen the mod has no Mycel config.static net.minecraft.client.gui.screens.ScreencreateConfigScreen(net.minecraft.client.gui.screens.Screen parent, MycelConfig config) Creates the config screen for a live config handle.
-
Method Details
-
createConfigScreen
public static net.minecraft.client.gui.screens.Screen createConfigScreen(net.minecraft.client.gui.screens.Screen parent, MycelConfig config) Creates the config screen for a live config handle. Client only. -
createConfigScreen
-