feat: Add wide moulconfig mode

This commit is contained in:
Linnea Gräf
2025-07-01 14:38:08 +02:00
parent 6980170dbd
commit 3518f881c2
4 changed files with 6 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ import net.minecraft.util.Identifier
import net.minecraft.util.StringIdentifiable
import net.minecraft.util.Util
import moe.nea.firmament.Firmament
import moe.nea.firmament.gui.config.AllConfigsGui
import moe.nea.firmament.gui.config.BooleanHandler
import moe.nea.firmament.gui.config.ChoiceHandler
import moe.nea.firmament.gui.config.ClickHandler
@@ -407,6 +408,7 @@ class MCConfigEditorIntegration : FirmamentConfigScreenProvider {
val editor = MoulConfigEditor(ProcessedCategory.collect(categories), configObject)
if (search != null)
editor.search(search)
editor.setWide(AllConfigsGui.ConfigConfig.enableWideMC)
return GuiElementWrapper(editor) // TODO : add parent support
}