17 lines
597 B
Java
17 lines
597 B
Java
|
package com.thebrokenrail.energonrelics.client;
|
||
|
|
||
|
import com.thebrokenrail.energonrelics.client.config.UserConfig;
|
||
|
import io.github.prospector.modmenu.api.ConfigScreenFactory;
|
||
|
import io.github.prospector.modmenu.api.ModMenuApi;
|
||
|
import me.sargunvohra.mcmods.autoconfig1u.AutoConfig;
|
||
|
import net.fabricmc.api.EnvType;
|
||
|
import net.fabricmc.api.Environment;
|
||
|
|
||
|
@Environment(EnvType.CLIENT)
|
||
|
public class ModMenu implements ModMenuApi {
|
||
|
@Override
|
||
|
public ConfigScreenFactory<?> getModConfigScreenFactory() {
|
||
|
return screen -> AutoConfig.getConfigScreen(UserConfig.class, screen).get();
|
||
|
}
|
||
|
}
|