Skip to content

Commit c464f1e

Browse files
committed
quilt support curseforge
1 parent 13fe5c6 commit c464f1e

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
(and does nothing more!)</h3>
66
</div>
77

8-
[![wakatime](https://wakatime.com/badge/github/isXander/Debugify.svg?style=for-the-badge)](https://wakatime.com/badge/github/W-OVERFLOW/Debugify)
8+
[![wakatime](https://wakatime.com/badge/github/W-OVERFLOW/Debugify.svg?style=for-the-badge)](https://wakatime.com/badge/github/W-OVERFLOW/Debugify)
99
![Lines of Code](https://img.shields.io/tokei/lines/github/isXander/Debugify?color=%23ff4747&label=Lines%20of%20code&style=for-the-badge)
1010

1111
## What does this mod replace?
@@ -15,7 +15,7 @@ This mod replaces many mods and implements fixes from some others
1515
- **[Shift-Scroll Fix](https://www.curseforge.com/minecraft/mc-mods/shift-scroll-fix)**: Replaced
1616
- **[ForgetMeChunk](https://www.curseforge.com/minecraft/mc-mods/forgetmechunk)**: Replaced
1717
- **[ChunkSavingFix](https://www.curseforge.com/minecraft/mc-mods/chunk-saving-fix)**: Replaced
18-
- **[force-close-world-loading-screen](https://modrinth.com/mod/forcecloseworldloadingscreen)**: Replaced
18+
- **[force-close-world-loading-screen](https://modrinth.com/mod/forcecloseworldloadingscreen)**: Replaced (missing advanced features)
1919
- **[No Telemetry](https://www.curseforge.com/minecraft/mc-mods/no-telemetry/)**: Replaced
2020
- **[ToolTipFix](https://www.curseforge.com/minecraft/mc-mods/tooltipfix)**: Replaced but with a different method (bedrock parity)
2121
- **[Title Fix Mod](https://modrinth.com/mod/title-fix-mod)**: Replaced

buildSrc/src/main/kotlin/platform-publishing.gradle.kts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ plugins {
88
}
99

1010
val minecraftVersion: String by rootProject
11+
val isFabric = project.name == "fabric"
1112

1213
modrinth {
1314
token.set(findProperty("modrinth.token")?.toString())
@@ -17,9 +18,9 @@ modrinth {
1718
versionType.set("release")
1819
uploadFile.set(tasks["remapJar"])
1920
gameVersions.set(listOf(minecraftVersion))
20-
loaders.set(if (project.name == "fabric") listOf("fabric", "quilt") else listOf(project.name))
21+
loaders.set(if (isFabric) listOf("fabric", "quilt") else listOf(project.name))
2122
changelog.set(extra["changelog"].toString())
22-
if (project.name == "fabric")
23+
if (isFabric)
2324
dependencies.add(ModDependency("mOgUt4GM", "optional"))
2425
dependencies.add(ModDependency("9s6osm5g", "optional"))
2526
}
@@ -35,14 +36,15 @@ if (hasProperty("curseforge.token")) {
3536
})
3637

3738
id = "596224"
38-
releaseType = if (project.name == "fabric") "beta" else "release"
39+
releaseType = if (isFabric) "release" else "beta"
3940
addGameVersion(minecraftVersion)
4041
addGameVersion(project.name.capitalize())
42+
if (isFabric) addGameVersion("Quilt")
4143
addGameVersion("Java 17")
4244

4345
relations(closureOf<com.matthewprenger.cursegradle.CurseRelation> {
4446
requiredDependency("cloth-config")
45-
if (project.name == "fabric")
47+
if (isFabric)
4648
optionalDependency("modmenu")
4749
})
4850

changelogs/1.11.0.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@
77

88
- [MC-234898](https://bugs.mojang.com/browse/MC-234898) - More pain than it's worth.
99
- [MC-249021](https://bugs.mojang.com/browse/MC-249021) - More pain than it's worth.
10+
11+
**Misc**
12+
13+
- Decrease file size by ~15%

0 commit comments

Comments
 (0)