Skip to content

Commit

Permalink
Updated 'Dependencies' -> 1.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
XDPXI committed Nov 16, 2024
1 parent 43a914b commit 38076ca
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 85 deletions.
5 changes: 1 addition & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,16 @@ dependencies {
compileOnly("org.spigotmc:spigot-api:1.21.3-R0.1-SNAPSHOT")
compileOnly("com.velocitypowered:velocity-api:3.4.0-SNAPSHOT")
annotationProcessor("com.velocitypowered:velocity-api:3.4.0-SNAPSHOT")
include(implementation("dev.xdpxi:dependencies:1.1.8"))
include(implementation("dev.xdpxi:dependencies:1.1.9"))

modImplementation("net.fabricmc:fabric-loader:0.16.9")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.108.1+")
modImplementation("com.terraformersmc:modmenu:11.0.3")
modImplementation("me.shedaniel.cloth:cloth-config-fabric:16.0.141"){exclude(group: "net.fabricmc.fabric-api")}
modImplementation("maven.modrinth:ducky-updater-lib:2024.10.2")
implementation("club.minnced:discord-rpc-release:v3.4.0")
implementation("com.github.MinnDevelopment:java-discord-rpc:2.0.2")
implementation("org.tomlj:tomlj:1.1.1")
implementation("org.antlr:antlr4-runtime:4.13.2")
implementation("org.json:json:20240303")
implementation("com.formdev:flatlaf:3.5.2")
implementation("org.commonmark:commonmark:0.24.0")
implementation("org.projectlombok:lombok:1.18.36")
implementation("org.beanshell:bsh:3.0.0-SNAPSHOT")
Expand Down
Binary file not shown.
Binary file removed gradle/deps/discord-rpc-release-v3.4.0.jar
Binary file not shown.
68 changes: 0 additions & 68 deletions src/client/java/dev/xdpxi/xdlib/DiscordRPCHandler.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public Screen getModConfigScreen(Screen parent) {
.setTitle(Text.of("XDLib Configuration"));

builder.getOrCreateCategory(Text.of("Main"))
.addEntry(createBooleanToggle(builder, "Add Custom Modmenu Badges", configData.isCustomBadges(), configData::setCustomBadges, true))
.addEntry(createBooleanToggle(builder, "Show Changelog On Every Startup", configData.isChangelogEveryStartup(), configData::setChangelogEveryStartup, false))
.addEntry(createBooleanToggle(builder, "Disable Plugins", configData.isDisablePlugins(), newVersion -> {
configData.setDisablePlugins(newVersion);
Expand All @@ -67,10 +68,6 @@ public Screen getModConfigScreen(Screen parent) {

updatePluginsCategory(builder, configData.isDisablePlugins());

builder.getOrCreateCategory(Text.of("Compatibility"))
.addEntry(createBooleanToggle(builder, "Add Custom Modmenu Badges", configData.isCustomBadges(), configData::setCustomBadges, true))
.addEntry(createBooleanToggle(builder, "Enable Discord RPC", configData.isDiscordRPC(), configData::setDiscordRPC, true));

return builder.build();
}

Expand Down
9 changes: 0 additions & 9 deletions src/client/java/dev/xdpxi/xdlib/config/configManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ public Screen getModConfigScreen(ConfigData configData, Screen parent) {
public static class ConfigData {
private boolean customBadges = true;
private boolean changelogEveryStartup = false;
private boolean discordRPC = true;
private boolean disablePlugins = false;
private boolean disableChangelog = false;
private boolean disableTitlePopups = false;
Expand All @@ -94,14 +93,6 @@ public void setChangelogEveryStartup(boolean changelogEveryStartup) {
this.changelogEveryStartup = changelogEveryStartup;
}

public boolean isDiscordRPC() {
return discordRPC;
}

public void setDiscordRPC(boolean discordRPC) {
this.discordRPC = discordRPC;
}

public boolean isDisablePlugins() {
return disablePlugins;
}
Expand Down

0 comments on commit 38076ca

Please sign in to comment.