More Welcome Options
This commit is contained in:
parent
a7efcd25ba
commit
bcd64b87b7
15 changed files with 254 additions and 67 deletions
|
@ -23,6 +23,13 @@ public class ClientConfig extends NamedPathConfig {
|
|||
"showUpdateInfo",
|
||||
"ui"
|
||||
);
|
||||
|
||||
@ConfigUI(hide = true)
|
||||
public static final ConfigToken<Boolean> FORCE_BETTERX_PRESET = ConfigToken.Boolean(
|
||||
true,
|
||||
"forceBetterXPreset",
|
||||
"ui"
|
||||
);
|
||||
public static final ConfigToken<Boolean> SUPPRESS_EXPERIMENTAL_DIALOG = ConfigToken.Boolean(
|
||||
false,
|
||||
"suppressExperimentalDialogOnLoad",
|
||||
|
@ -134,6 +141,10 @@ public class ClientConfig extends NamedPathConfig {
|
|||
return get(SUPPRESS_EXPERIMENTAL_DIALOG);
|
||||
}
|
||||
|
||||
public void setSuppressExperimentalDialog(boolean newValue) {
|
||||
set(ClientConfig.SUPPRESS_EXPERIMENTAL_DIALOG, newValue);
|
||||
}
|
||||
|
||||
public boolean netherThickFog() {
|
||||
return get(NETHER_THICK_FOG);
|
||||
}
|
||||
|
@ -170,4 +181,12 @@ public class ClientConfig extends NamedPathConfig {
|
|||
public void setDidShowWelcomeScreen() {
|
||||
set(ClientConfig.DID_SHOW_WELCOME, true);
|
||||
}
|
||||
|
||||
public boolean forceBetterXPreset() {
|
||||
return get(FORCE_BETTERX_PRESET);
|
||||
}
|
||||
|
||||
public void setForceBetterXPreset(boolean v) {
|
||||
set(FORCE_BETTERX_PRESET, v);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue