Made the Forge mod options more consistent with the Fabric options.
This commit is contained in:
@@ -63,8 +63,8 @@ public class ConfigManager
|
|||||||
public static class TimeValues
|
public static class TimeValues
|
||||||
{
|
{
|
||||||
private static final int SHOW_TIME = 6 * TICKS_PER_SECOND;
|
private static final int SHOW_TIME = 6 * TICKS_PER_SECOND;
|
||||||
private static final int FADE_IN = TICKS_PER_SECOND / 2;
|
private static final int FADE_IN = TICKS_PER_SECOND / 4;
|
||||||
private static final int FADE_OUT = TICKS_PER_SECOND;
|
private static final int FADE_OUT = TICKS_PER_SECOND / 2;
|
||||||
|
|
||||||
private final String name;
|
private final String name;
|
||||||
private final ForgeConfigSpec.IntValue maxTime;
|
private final ForgeConfigSpec.IntValue maxTime;
|
||||||
@@ -78,19 +78,19 @@ public class ConfigManager
|
|||||||
this.name = name;
|
this.name = name;
|
||||||
this.maxTime =
|
this.maxTime =
|
||||||
configSpecBuilder.translation("immersive_hud.configGui." + name + "Time.title")
|
configSpecBuilder.translation("immersive_hud.configGui." + name + "Time.title")
|
||||||
.defineInRange(name + "Time",
|
.defineInRange(name + "Time.maxTime",
|
||||||
SHOW_TIME,
|
SHOW_TIME,
|
||||||
0,
|
0,
|
||||||
MAX_TIME);
|
MAX_TIME);
|
||||||
this.fadeIn =
|
this.fadeIn =
|
||||||
configSpecBuilder.translation("immersive_hud.configGui." + name + "FadeIn.title")
|
configSpecBuilder.translation("immersive_hud.configGui." + name + "FadeIn.title")
|
||||||
.defineInRange(name + "FadeIn",
|
.defineInRange(name + "Time.fadeIn",
|
||||||
FADE_IN,
|
FADE_IN,
|
||||||
0,
|
0,
|
||||||
MAX_TIME);
|
MAX_TIME);
|
||||||
this.fadeOut =
|
this.fadeOut =
|
||||||
configSpecBuilder.translation("immersive_hud.configGui." + name + "FadeOut.title")
|
configSpecBuilder.translation("immersive_hud.configGui." + name + "FadeOut.title")
|
||||||
.defineInRange(name + "FadeOUT",
|
.defineInRange(name + "Time.fadeOut",
|
||||||
FADE_OUT,
|
FADE_OUT,
|
||||||
0,
|
0,
|
||||||
MAX_TIME);
|
MAX_TIME);
|
||||||
|
|||||||
Reference in New Issue
Block a user