Closed s5bug closed 5 years ago
Use FG1.2, not 2.0.2
Java 8 JDK
buildscript {
repositories {
mavenCentral()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/repositories/snapshots/"
}
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT"
}
}
apply plugin: 'forge'
FG1.2 cant use useDepAts = true
. So question still open.
1.7.10 is ancient so this is probably a wontfix
Forge currently only supports 1.12.2 and 1.14.4. Update.
1.7.10 and FG 2.2 are unsupported
Anyway 1.7.10 still live in Russia. This is a fact, deal with it. Propably sollution - write standalone gradle task with usage Access Transformers methods from minecraft{} script block.
windows XP is also used but that doesn't mean you get support for it https://howoldisminecraft1710.today/
I experimented with FG1.2 and found that you can apply ATs with several calls of at() method in minecraft{} buld scrit block:
minecraft {
version = "1.7.10-10.13.4.1614-1.7.10"
runDir = "eclipse"
at(file("$rootDir/test_at.cfg"))
at(file("$rootDir/test1_at.cfg")) // Yea! This work.
}
Now I have no time to write a cycle, bypassing all dependencies. I think you understand the essence and can write it yourself.
Now let's talk about updates. At the moment, there is not yet a server that could support mods and plug-ins without a substantial increase in the minimum requirements. And I'm not the only one who thinks so. I know that there is an Sponge, but empirically I have determined that it requires much more memory. Moreover, I created 2 modpacks for 1.7.10 and 1.12.2 with the same mods (approximately 120 mods). With 50 players online, Sponzhe began to terribly slow down on my machine, while the old man 1.7.10 provides a comfortable game.
Do not forget about the fact that there is no guarantee that when you upgrade something will not break. I am not one of those people who want to constantly repair something. Moreover, I do not need content from the new versions.
And the most important thing is that I don’t want to spend a huge amount of time and effort on rewriting and testing my mods and plugins for 1.12.2 because some guys thinks that updates are a panacea for all problems. So answer me: WHAT FOR A REAL SENSITIVE BENEFIT WILL I GET FROM UPDATE?
Guys, do not repair things thats already works.
Better rendering. Better code. Better content. Better performance. {RAM is cheap, cpu is what matters} Better libraries. Better overall stability. Better support. Better community. And the best benefit of updating. Not being an asshat who expects people to support your old shit because you're just to lazy to update and like to rationalize it to yourself. The tools are in place to do whatever you want. We just arn't going to help you do it.
build.gradle:
gradle.properties:
Error:
Run with --stacktrace and --debug: Hastebin Log