Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
2.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
MicrocontrollersDev committed Apr 28, 2024
1 parent ef03a2b commit c22d4ff
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mod_name=Mixmetica
# Sets the id of your mod that mod loaders use to recognize it.
mod_id=mixmetica
# Sets the version of your mod. Make sure to update this when you make changes according to semver.
mod_version=2.0.3
mod_version=2.0.4
# Sets the name of the jar file that you put in your 'mods' folder.
mod_archives_name=Mixmetica

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,42 @@ public class MixmeticaConfig extends Config {
};

@Switch(
name = "Disable Cosmetics",
name = "Disable Cosmetica Cosmetics",
description = "This will revert back to using OptiFine cosmetics.",
subcategory = "General"
)
public static boolean disable = false;

@Info(
text = "Only use a custom instance if you know what you are doing.",
type = InfoType.WARNING,
size=2,
size = 2,
subcategory = "Instance"
)
private boolean arcmeticaInstanceWarning = false;

@Info(
text = "If Cosmetica servers are down, use the disable toggle above.",
type = InfoType.INFO,
subcategory = "Status"
)
public static boolean status = false;

@Button(
name = "Check Cosmetica Status",
text = "Click",
subcategory = "Status"
)
Runnable cosmeticaStatus = () -> {
if (Desktop.isDesktopSupported() && Desktop.getDesktop().isSupported(Desktop.Action.BROWSE)) {
try {
Desktop.getDesktop().browse(new URI("https://status.cosmetica.cc/"));
} catch (IOException | URISyntaxException e) {
throw new RuntimeException(e);
}
}
};

@Switch(
name = "Use Custom Arcmetica Instance",
subcategory = "Instance"
Expand Down

0 comments on commit c22d4ff

Please sign in to comment.