All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.magistuarmory.fabric.config.ModMenuFabric Maven / Gradle / Ivy

The newest version!
package com.magistuarmory.fabric.config;

import com.magistuarmory.config.ModConfig;
import com.terraformersmc.modmenu.api.ConfigScreenFactory;
import com.terraformersmc.modmenu.api.ModMenuApi;
import me.shedaniel.autoconfig.AutoConfig;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;

@Environment(EnvType.CLIENT)
public class ModMenuFabric implements ModMenuApi {
    @Override
    public ConfigScreenFactory getModConfigScreenFactory()
    {
        return parent -> AutoConfig.getConfigScreen(ModConfig.class, parent).get();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy