This repository has been archived by the owner on Aug 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Does this work on 1.18.2? #2
Comments
I tried changing these: diff --git a/build.gradle b/build.gradle
index 5a154b3..5ba99bc 100644
--- a/build.gradle
+++ b/build.gradle
@@ -11,7 +11,7 @@ buildscript {
}
}
dependencies {
- classpath 'net.minecraftforge.gradle:ForgeGradle:3.+'
+ classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true
classpath 'org.spongepowered:mixingradle:0.7+'
}
}
@@ -24,7 +24,7 @@ group = "net.jay113355"
archivesBaseName = "IpForward"
minecraft {
- mappings channel: 'snapshot', version: '20171007-1.12'
+ mappings channel: 'official', version: '1.18.2'
accessTransformers = files('src/main/resources/META-INF/ipforward_at.cfg').asList()
@@ -48,23 +48,20 @@ repositories {
}
dependencies {
- minecraft ('net.minecraftforge:forge:1.12.2-14.23.5.2860') {
- exclude group: 'org.scala-lang'
- exclude group: 'org.scala-lang.plugins'
- }
+ minecraft 'net.minecraftforge:forge:1.18.2-40.1.19'
- compile("org.spongepowered:mixin:0.8")
+ implementation("org.spongepowered:mixin:0.8.5")
}
processResources {
// this will ensure that this task is redone when the versions change.
inputs.property "version", project.version
- inputs.property "mcversion", '1.12.2'
+ inputs.property "mcversion", '1.18.2'
// replace stuff in mcmod.info, nothing else
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
- expand 'version':project.version, 'mcversion':'1.12.2'
+ expand 'version':project.version, 'mcversion':'1.18.2'
}
}
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index a95009c..41dfb87 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
diff --git a/gradlew b/gradlew
old mode 100644
new mode 100755
diff --git a/src/main/java/net/jay113355/ipforward/IpForwardFML.java b/src/main/java/net/jay113355/ipforward/IpForwardFML.java
index 78e122d..7959297 100644
--- a/src/main/java/net/jay113355/ipforward/IpForwardFML.java
+++ b/src/main/java/net/jay113355/ipforward/IpForwardFML.java
@@ -27,7 +27,7 @@ import java.util.Map;
/**
* Created by Jay113355 on 4/4/2020.
*/
-@IFMLLoadingPlugin.MCVersion("1.12.2")
+@IFMLLoadingPlugin.MCVersion("1.18.2")
public class IpForwardFML implements IFMLLoadingPlugin {
@Override to update some versions on stuff, but I still get a lot of problems:
So I can tell that it's going to take a bit more work, and unfortunately I don't think I'll have much more to contribute at the moment |
Someone else made a Legacy IP forwarding mod that supports more and I've switched to using it, would recommend https://github.com/caunt/BungeeForge |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If so, if there something special I have to do in
build.gradle
to make it work? I'm trying, without success :)The text was updated successfully, but these errors were encountered: