Skip to content

Commit

Permalink
(fix): forge 1.12.2 doesn't load
Browse files Browse the repository at this point in the history
  • Loading branch information
LoboMetalurgico committed Feb 13, 2022
1 parent a578f8d commit b811110
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
22 changes: 13 additions & 9 deletions Forge/1.12.2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,19 @@ dependencies {
}

jar {
manifest {
attributes (
'Main-Class': 'br.com.gamemods.minecity.forge.mc_1_12_2.listeners.MineCityColorMod',
'TargetForgeBuild': '2859',
'TargetForgeVersion': '14.23.5',
'FMLCorePlugin': 'br.com.gamemods.minecity.forge.mc_1_12_2.core.MineCityColorCoreMod',
'FMLAT': 'minecity_at.cfg'
)
}
manifest.attributes (
'FMLCorePluginContainsFMLMod': 'true',
'ForceLoadAsMod': 'true',
"Specification-Title": "minecity",
"Specification-Vendor": "minecity",
"Specification-Version": "1", // We are version 1 of ourselves
"Implementation-Title": project.name,
"Implementation-Version": "${version}",
"Implementation-Vendor": "minecity",
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
'FMLCorePlugin': 'br.com.gamemods.minecity.forge.mc_1_12_2.core.MineCityColorCoreMod',
'FMLAT': 'minecity_at.cfg'
)

configurations.shade.each { dep ->
from(project.zipTree(dep)){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import java.io.IOException;

@Mod(modid = ModEnv.MOD_ID, name = ModEnv.MOD_ID, version = ModEnv.MOD_VERSION, acceptableRemoteVersions = "*",
acceptedMinecraftVersions = "[1.12.2]", dependencies = "before:opencomputers;before:CoFHCore"
acceptedMinecraftVersions = "[1.12.2]", dependencies = "before:opencomputers;before:cofhcore"
)
public class MineCityColorMod {
private MineCityColor forge;
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ project(':Bukkit') {
}

baseName = 'MineCity-Bukkit-MC-1.10.2'
classifier = null
// classifier = null
relocate 'org.bstats', 'br.com.gamemods.minecity.bukkit.bstats'
}

Expand Down

0 comments on commit b811110

Please sign in to comment.