This repository has been archived on 2023-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
2020-07-17 16:14:27 +00:00
|
|
|
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)
|
2020-08-04 21:42:19 +00:00
|
|
|
public final class ModMenu implements ModMenuApi {
|
2020-07-17 16:14:27 +00:00
|
|
|
@Override
|
|
|
|
public ConfigScreenFactory<?> getModConfigScreenFactory() {
|
|
|
|
return screen -> AutoConfig.getConfigScreen(UserConfig.class, screen).get();
|
|
|
|
}
|
|
|
|
}
|