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

Commit

Permalink
2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MicrocontrollersDev committed Dec 3, 2023
1 parent 9d18a33 commit a9ba830
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 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.0
mod_version=2.0.1
# 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 @@ -24,22 +24,23 @@ public static MixmeticaConfig getInstance() {
type = InfoType.ERROR,
size=2
)
private boolean error = false;
private boolean animatedCapesError = false;

@Info(
text = "Cosmetica will ask you to sign into your Microsoft account to authenticate. Disabling cosmetics will require a game restart.",
size = 2,
type = InfoType.INFO,
subcategory = "General"
)
private boolean info = false;
private boolean loginAndDisableWarning = false;

@Button(
name = "Change Cosmetics",
text = "Click!",
description = "This will take you to the Cosmetica website where you can log in and manage your cosmetics.",
subcategory = "General"
)
Runnable runnable = () -> {
Runnable openCosmetica = () -> {
if (Desktop.isDesktopSupported() && Desktop.getDesktop().isSupported(Desktop.Action.BROWSE)) {
try {
Desktop.getDesktop().browse(new URI("https://login.cosmetica.cc/microsoft-java"));
Expand All @@ -56,24 +57,24 @@ public static MixmeticaConfig getInstance() {
public static boolean disable = false;

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

@Switch(
name = "Use Custom Arcmetica Instance",
subcategory = "General"
subcategory = "Instance"
)
public static boolean customInstance = false;

@Text(
name = "Arcmetica Instance",
placeholder = "http://",
secure = true,
subcategory = "General"
subcategory = "Instance"
)
public static String instanceLink = "";

Expand All @@ -82,7 +83,7 @@ public static MixmeticaConfig getInstance() {
text = "Click!",
subcategory = "Socials"
)
Runnable runnable2 = () -> {
Runnable cosmeticaDiscord = () -> {
if (Desktop.isDesktopSupported() && Desktop.getDesktop().isSupported(Desktop.Action.BROWSE)) {
try {
Desktop.getDesktop().browse(new URI("https://discord.gg/aQh5SJEUBm"));
Expand All @@ -97,7 +98,7 @@ public static MixmeticaConfig getInstance() {
text = "Click!",
subcategory = "Socials"
)
Runnable runnable3 = () -> {
Runnable cosmeticaKofi = () -> {
if (Desktop.isDesktopSupported() && Desktop.getDesktop().isSupported(Desktop.Action.BROWSE)) {
try {
Desktop.getDesktop().browse(new URI("https://ko-fi.com/cosmetica"));
Expand All @@ -112,7 +113,7 @@ public static MixmeticaConfig getInstance() {
text = "Click!",
subcategory = "Socials"
)
Runnable runnable4 = () -> {
Runnable mixmeticaDiscord = () -> {
if (Desktop.isDesktopSupported() && Desktop.getDesktop().isSupported(Desktop.Action.BROWSE)) {
try {
Desktop.getDesktop().browse(new URI("https://discord.gg/rejfv9kFJj"));
Expand All @@ -125,6 +126,6 @@ public static MixmeticaConfig getInstance() {
public MixmeticaConfig() {
super(new Mod("Mixmetica", ModType.UTIL_QOL, "/mixmetica.png"), "mixmetica.json");
initialize();
addDependency("profileLink", "customProfile");
addDependency("instanceLink", "customInstance");
}
}
Binary file modified src/main/resources/mixmetica.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a9ba830

Please sign in to comment.