Skip to content

Commit

Permalink
fix Sodium Extras imcompat, update publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
nthxny committed Feb 15, 2024
1 parent 02de5dc commit c37189e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
20 changes: 16 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -216,28 +216,40 @@ publishing {

publishMods {
file = tasks.jar.get().archiveFile
changelog = ""
changelog = "https://github.com/anthxnymc/xenon/wiki/Changelog"
type = STABLE
modLoaders.add("forge")
modLoaders.add("neoforge")

curseforge {
projectId = "908741"
accessToken = providers.environmentVariable("CURSEFORGE_TOKEN")
projectId = "564239"
accessToken = providers.environmentVariable("CF_API_TOKEN")
minecraftVersions.add("minecraft_version"())

incompatible {
slug = "rubidium"
}

incompatible {
slug = "embeddium"
}

incompatible {
slug = "magnesium-extras"
}
}
modrinth {
projectId = "sk9rgfiA"
projectId = "aWDwN8NN"
accessToken = providers.environmentVariable("MODRINTH_TOKEN")
minecraftVersions.add("minecraft_version"())

incompatible {
slug = "rubidium"
}

incompatible {
slug = "embeddium"
}
}

displayName = "[${"minecraft_version"()}] Xenon ${"mod_version"()}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public SodiumOptionsGUI(Screen prevScreen) {
pages.add(new EntityCullingPage());
pages.add(new OthersPage());

this.checkPromptTimers();
//this.checkPromptTimers();
}

private void checkPromptTimers() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import me.jellysquid.mods.sodium.client.data.fingerprint.HashedFingerprint;
import me.jellysquid.mods.sodium.client.gui.SodiumGameOptionPages;
import me.jellysquid.mods.sodium.client.gui.SodiumGameOptions;
import me.jellysquid.mods.sodium.client.gui.SodiumOptionsGUI;
import me.jellysquid.mods.sodium.client.gui.options.Option;
import me.jellysquid.mods.sodium.client.gui.options.OptionFlag;
import me.jellysquid.mods.sodium.client.gui.options.OptionPage;
Expand Down Expand Up @@ -66,15 +67,8 @@ public SodiumVideoOptionsScreen(Screen prev) {
super(Component.literal("Reese's Sodium Menu"));
this.prevScreen = prev;

this.pages.add(SodiumGameOptionPages.general());
this.pages.add(SodiumGameOptionPages.quality());
this.pages.add(new QualityPlusPage());
this.pages.add(SodiumGameOptionPages.performance());
this.pages.add(SodiumGameOptionPages.advanced());

pages.add(new TrueDarknessPage());
pages.add(new EntityCullingPage());
pages.add(new OthersPage());
var original = new SodiumOptionsGUI(this);
pages.addAll(original.pages);

this.checkPromptTimers();
}
Expand Down

0 comments on commit c37189e

Please sign in to comment.