Skip to content

Commit a27c380

Browse files
committed
Update to Minecraft 1.20
Includes minimal mods.toml stub for Sinytra Connector
1 parent 4787a01 commit a27c380

File tree

4 files changed

+54
-9
lines changed

4 files changed

+54
-9
lines changed

build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,12 @@ tasks {
9696
"java" to java.targetCompatibility.majorVersion,
9797
"version" to project.version,
9898
"project_version" to projectVersion,
99-
"minecraft_required" to libs.versions.minecraft.required.get()
99+
"minecraft_required" to libs.versions.minecraft.required.get(),
100+
"modrinthId" to modrinthId,
100101
)
101102
inputs.properties(map)
102103

103-
filesMatching("fabric.mod.json") { expand(map) }
104+
filesMatching(listOf("fabric.mod.json", "quilt.mod.json", "META-INF/mods.toml")) { expand(map) }
104105
}
105106
javadoc {
106107
(options as StandardJavadocDocletOptions).tags("reason:a:Reason")

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ org.gradle.jvmargs=-Xmx1G
33

44
# Your project's version
55
group=gay.ampflower
6-
projectVersion=0.4.1
6+
projectVersion=0.4.2
77
modrinthId=z23qey0b
8-
minecraftCompatible=1.19.4
8+
minecraftCompatible=1.20,1.20.1

gradle/libs.versions.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
annotations = "23.0.0"
33

44
# https://github.com/LambdAurora/SpruceUI
5-
spruceui = "4.2.0+1.19.4"
6-
modmenu = "6.1.0-rc.4"
5+
spruceui = "5.0.0+1.20"
6+
modmenu = "7.0.1"
77

88
# Minecraft
9-
minecraft_version = "1.19.4"
10-
minecraft_required = "~1.19.4"
9+
minecraft_version = "1.20"
10+
minecraft_required = ">=1.20 <=1.20.1"
1111
fabric_loader = "0.15.+"
12-
fabric_api = "0.87.2+1.19.4"
12+
fabric_api = "0.83.0+1.20"
1313

1414
# Plugins
1515
loom = "1.+"

src/main/resources/META-INF/mods.toml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
modLoader = "lowcodefml"
2+
loaderVersion = "[47,)"
3+
license = "Mozilla Public License 2.0"
4+
5+
issueTrackerURL = "https://github.com/Modflower/music-moods/issues"
6+
7+
[properties]
8+
"connector:placeholder"=true
9+
10+
[[mods]]
11+
modId = "music_moods"
12+
namespace = "music-moods"
13+
version = "${version}"
14+
displayName = "Music Moods"
15+
16+
updateJSONURL = "https://api.modrinth.com/updates/${modrinthId}/forge_updates.json"
17+
18+
logoFile = "assets/music-moods/pack.png"
19+
logoBlur = false
20+
21+
displayURL = "https://mod.ampflower.gay/petworks"
22+
23+
description = '''
24+
Configure how music & sound are handled.
25+
'''
26+
27+
authors = "Ampflower"
28+
29+
[[dependencies.music_moods]]
30+
modId = "minecraft"
31+
mandatory = true
32+
33+
versionRange = "[1.20.1]"
34+
ordering = "NONE"
35+
side = "CLIENT"
36+
37+
38+
[[dependencies.music_moods]]
39+
modId = "connectormod"
40+
mandatory = true
41+
42+
versionRange = "[1.0.0-beta.41,)"
43+
ordering = "NONE"
44+
side = "CLIENT"

0 commit comments

Comments
 (0)