Skip to content

Commit

Permalink
Update to Minecraft 1.20
Browse files Browse the repository at this point in the history
Includes minimal mods.toml stub for Sinytra Connector
  • Loading branch information
Ampflower committed Jun 29, 2024
1 parent 4787a01 commit a27c380
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 9 deletions.
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,12 @@ tasks {
"java" to java.targetCompatibility.majorVersion,
"version" to project.version,
"project_version" to projectVersion,
"minecraft_required" to libs.versions.minecraft.required.get()
"minecraft_required" to libs.versions.minecraft.required.get(),
"modrinthId" to modrinthId,
)
inputs.properties(map)

filesMatching("fabric.mod.json") { expand(map) }
filesMatching(listOf("fabric.mod.json", "quilt.mod.json", "META-INF/mods.toml")) { expand(map) }
}
javadoc {
(options as StandardJavadocDocletOptions).tags("reason:a:Reason")
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ org.gradle.jvmargs=-Xmx1G

# Your project's version
group=gay.ampflower
projectVersion=0.4.1
projectVersion=0.4.2
modrinthId=z23qey0b
minecraftCompatible=1.19.4
minecraftCompatible=1.20,1.20.1
10 changes: 5 additions & 5 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
annotations = "23.0.0"

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

# Minecraft
minecraft_version = "1.19.4"
minecraft_required = "~1.19.4"
minecraft_version = "1.20"
minecraft_required = ">=1.20 <=1.20.1"
fabric_loader = "0.15.+"
fabric_api = "0.87.2+1.19.4"
fabric_api = "0.83.0+1.20"

# Plugins
loom = "1.+"
Expand Down
44 changes: 44 additions & 0 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
modLoader = "lowcodefml"
loaderVersion = "[47,)"
license = "Mozilla Public License 2.0"

issueTrackerURL = "https://github.com/Modflower/music-moods/issues"

[properties]
"connector:placeholder"=true

[[mods]]
modId = "music_moods"
namespace = "music-moods"
version = "${version}"
displayName = "Music Moods"

updateJSONURL = "https://api.modrinth.com/updates/${modrinthId}/forge_updates.json"

logoFile = "assets/music-moods/pack.png"
logoBlur = false

displayURL = "https://mod.ampflower.gay/petworks"

description = '''
Configure how music & sound are handled.
'''

authors = "Ampflower"

[[dependencies.music_moods]]
modId = "minecraft"
mandatory = true

versionRange = "[1.20.1]"
ordering = "NONE"
side = "CLIENT"


[[dependencies.music_moods]]
modId = "connectormod"
mandatory = true

versionRange = "[1.0.0-beta.41,)"
ordering = "NONE"
side = "CLIENT"

0 comments on commit a27c380

Please sign in to comment.