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 f692392 commit 6be5995
Show file tree
Hide file tree
Showing 2 changed files with 29 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 + '.neoforge' + getExtraBuildMetadata()
group = project.maven_group

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

filesMatching('fabric.mod.json') {
filesMatching(['fabric.mod.json', 'META-INF/neoforge.mods.toml']) {
expand 'version': project.version
}
}
Expand Down
27 changes: 27 additions & 0 deletions src/main/resources/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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"

[[dependencies.continuity]]
modId = "minecraft"
versionRange = "[1.21.1]"

[[dependencies.continuity]]
modId = "connector"

[[dependencies.continuity]]
modId = "fabric_api"

0 comments on commit 6be5995

Please sign in to comment.