Skip to content

Commit

Permalink
Add proper Connector integration
Browse files Browse the repository at this point in the history
  • Loading branch information
PepperCode1 committed Dec 10, 2024
1 parent 80f742e commit 7cc039b
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'maven-publish'
}

version = project.mod_version + '+' + project.mod_minecraft_version + getExtraBuildMetadata()
version = project.mod_version + '+' + project.mod_minecraft_version + ".forge" + getExtraBuildMetadata()
group = project.maven_group

base {
Expand Down Expand Up @@ -56,7 +56,7 @@ dependencies {
processResources {
inputs.property 'version', project.version

filesMatching('fabric.mod.json') {
filesMatching(['fabric.mod.json', 'META-INF/mods.toml']) {
expand 'version': project.version
}
}
Expand Down
34 changes: 34 additions & 0 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
modLoader = "javafml"
loaderVersion = "*"
license = "LGPL-3.0-only"
issueTrackerURL = "https://github.com/PepperCode1/Continuity/issues"

[properties]
"connector:placeholder" = true

[[mods]]
modId = "continuity"
version = "${version}"
displayName = "Continuity"
description = "Continuity is a Fabric mod that allows resource packs that use the OptiFine connected textures format, OptiFine emissive textures format (only for blocks and item models), or OptiFine custom block layers format to work without OptiFine."
logoFile = "assets/continuity/icon.png"
logoBlur = false
authors = "PepperCode1"
displayURL = "https://modrinth.com/mod/continuity"
displayTest = "IGNORE_ALL_VERSION"

[[dependencies.continuity]]
modId = "minecraft"
mandatory = true
versionRange = "[1.20.1]"
side = "CLIENT"

[[dependencies.continuity]]
modId = "connectormod"
mandatory = true
side = "CLIENT"

[[dependencies.continuity]]
modId = "fabric_api"
mandatory = true
side = "CLIENT"

0 comments on commit 7cc039b

Please sign in to comment.