Slightly better config
This commit is contained in:
parent
72e196815e
commit
a6a77a029d
@ -3,6 +3,8 @@ package io.gitlab.jfronny.translater;
|
||||
import me.sargunvohra.mcmods.autoconfig1u.ConfigData;
|
||||
import me.sargunvohra.mcmods.autoconfig1u.annotation.Config;
|
||||
import me.sargunvohra.mcmods.autoconfig1u.shadowed.blue.endless.jankson.Comment;
|
||||
import me.sargunvohra.mcmods.autoconfig1u.annotation.ConfigEntry.Gui.EnumHandler;
|
||||
import me.sargunvohra.mcmods.autoconfig1u.annotation.ConfigEntry.Gui.RequiresRestart;
|
||||
|
||||
@Config(name = "TranslaterCF")
|
||||
public class Cfg implements ConfigData {
|
||||
@ -15,8 +17,10 @@ public class Cfg implements ConfigData {
|
||||
@Comment("The language to translate to - Leave empty for auto-detection (might break text even more)")
|
||||
public String targetLanguage = "en";
|
||||
@Comment("Significantly slows down the loading time but gives a visual of the progress. Values: Full, Console, None")
|
||||
@EnumHandler(option = EnumHandler.EnumDisplayOption.BUTTON)
|
||||
public progressMode renderProgress = progressMode.None;
|
||||
@Comment("Use this if something is broken. This initiate the regeneration of the cache")
|
||||
@RequiresRestart
|
||||
public boolean forceRegenerate = false;
|
||||
|
||||
public enum progressMode {
|
||||
|
Loading…
Reference in New Issue
Block a user