Skip to content

Commit 6be5995

Browse files
committed
Add proper Connector integration
1 parent f692392 commit 6be5995

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
id 'maven-publish'
44
}
55

6-
version = project.mod_version + '+' + project.mod_minecraft_version + getExtraBuildMetadata()
6+
version = project.mod_version + '+' + project.mod_minecraft_version + '.neoforge' + getExtraBuildMetadata()
77
group = project.maven_group
88

99
base {
@@ -50,7 +50,7 @@ dependencies {
5050
processResources {
5151
inputs.property 'version', project.version
5252

53-
filesMatching('fabric.mod.json') {
53+
filesMatching(['fabric.mod.json', 'META-INF/neoforge.mods.toml']) {
5454
expand 'version': project.version
5555
}
5656
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
modLoader = "javafml"
2+
loaderVersion = "*"
3+
license = "LGPL-3.0-only"
4+
issueTrackerURL = "https://github.com/PepperCode1/Continuity/issues"
5+
6+
[properties]
7+
"connector:placeholder" = true
8+
9+
[[mods]]
10+
modId = "continuity"
11+
version = "${version}"
12+
displayName = "Continuity"
13+
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."
14+
logoFile = "assets/continuity/icon.png"
15+
logoBlur = false
16+
authors = "PepperCode1"
17+
displayURL = "https://modrinth.com/mod/continuity"
18+
19+
[[dependencies.continuity]]
20+
modId = "minecraft"
21+
versionRange = "[1.21.1]"
22+
23+
[[dependencies.continuity]]
24+
modId = "connector"
25+
26+
[[dependencies.continuity]]
27+
modId = "fabric_api"

0 commit comments

Comments
 (0)