add mod menu and neo iris support

This commit is contained in:
James Seibel
2025-12-11 21:37:08 -06:00
parent 59b886c5e3
commit c5ae7da96c
3 changed files with 8 additions and 12 deletions
@@ -20,21 +20,17 @@
package com.seibel.distanthorizons.fabric.wrappers.config;
import com.seibel.distanthorizons.common.wrappers.gui.GetConfigScreen;
#if MC_VER != MC_1_21_11
import com.terraformersmc.modmenu.api.ConfigScreenFactory;
import com.terraformersmc.modmenu.api.ModMenuApi;
#endif
/** For making the config show up in modmenu */
public class ModMenuIntegration #if MC_VER != MC_1_21_11 implements ModMenuApi #endif
public class ModMenuIntegration implements ModMenuApi
{
#if MC_VER != MC_1_21_11
// For the custom config code
@Override
public ConfigScreenFactory<?> getModConfigScreenFactory()
{
return parent -> GetConfigScreen.getScreen(parent);
}
#endif
}