com.magistuarmory.fabric.config.ModMenuFabric Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of 1.20.2-epic-knights-fabric Show documentation
Show all versions of 1.20.2-epic-knights-fabric Show documentation
mod that adds medieval stuff to the game
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();
}
}