|
@@ -1,17 +0,0 @@
|
|
|
-package me.lortseam.completeconfig.example;
|
|
|
-
|
|
|
-import com.terraformersmc.modmenu.api.ConfigScreenFactory;
|
|
|
-import com.terraformersmc.modmenu.api.ModMenuApi;
|
|
|
-import me.lortseam.completeconfig.gui.ConfigScreenBuilder;
|
|
|
-import me.lortseam.completeconfig.gui.cloth.ClothConfigScreenBuilder;
|
|
|
-
|
|
|
-public final class ModMenuIntegration implements ModMenuApi {
|
|
|
-
|
|
|
- private final ConfigScreenBuilder screenBuilder = new ClothConfigScreenBuilder();
|
|
|
-
|
|
|
- @Override
|
|
|
- public ConfigScreenFactory<?> getModConfigScreenFactory() {
|
|
|
- return parent -> screenBuilder.build(parent, ExampleMod.getConfig());
|
|
|
- }
|
|
|
-
|
|
|
-}
|