Some questions about LiquidBounce - cross_version
-
This post is deleted!
-
This post is deleted!
-
-
@NUMB
Actually u can,
The first step to do is to checkout thecross_versionbranch. (Defaultmasterbranch does not contains anycross_versionstuff yet)
just cd to the root dir of LB andgit checkout cross_version. If u use your fork, you should know how to add a remote for it and how to use.
Look into thesetting.gradleand you will seerootProject.name = 'LiquidBounce' if (System.getenv()['mcversion'] == "1.12") { include '1.12.2-Forge' } else { include '1.8.9-Forge' } // include '1.8.9-Vanilla'Which means you only have to make the environment variable
mcversionequals to1.12then you can dogradlew build.
On *nix u need to usemcversion="1.12" bash ./gradlew build, I already forgot how to temporarily set a environment variable on Windows.

The jar will be at
1.12.2-Forge/build/libs/LiquidBounce-B73.jarHowever I have not found a way to change environment variable in Intellij idea, because simple modifying
setting.gradletakes less energy(still bad tho).Btw last time when I compiled
cross_versionstuff I had to modify one import statment to compile, never tested tho(it was at this commit). There seemed to be more frequent commits lately, it might be ready to use in a short period I guess.(Spoiler: there is a new branch for 1.16.2-fabric, however there is no commit yet)Edit: I tested and crashed when I tired to launch lol.
Edit: Crashing in splash screen does not always happens. I managed to launch once -
@NUMB
Actually u can,
The first step to do is to checkout thecross_versionbranch. (Defaultmasterbranch does not contains anycross_versionstuff yet)
just cd to the root dir of LB andgit checkout cross_version. If u use your fork, you should know how to add a remote for it and how to use.
Look into thesetting.gradleand you will seerootProject.name = 'LiquidBounce' if (System.getenv()['mcversion'] == "1.12") { include '1.12.2-Forge' } else { include '1.8.9-Forge' } // include '1.8.9-Vanilla'Which means you only have to make the environment variable
mcversionequals to1.12then you can dogradlew build.
On *nix u need to usemcversion="1.12" bash ./gradlew build, I already forgot how to temporarily set a environment variable on Windows.

The jar will be at
1.12.2-Forge/build/libs/LiquidBounce-B73.jarHowever I have not found a way to change environment variable in Intellij idea, because simple modifying
setting.gradletakes less energy(still bad tho).Btw last time when I compiled
cross_versionstuff I had to modify one import statment to compile, never tested tho(it was at this commit). There seemed to be more frequent commits lately, it might be ready to use in a short period I guess.(Spoiler: there is a new branch for 1.16.2-fabric, however there is no commit yet)Edit: I tested and crashed when I tired to launch lol.
Edit: Crashing in splash screen does not always happens. I managed to launch once@commandblock2 Thank you very much
:) -
@NUMB
Actually u can,
The first step to do is to checkout thecross_versionbranch. (Defaultmasterbranch does not contains anycross_versionstuff yet)
just cd to the root dir of LB andgit checkout cross_version. If u use your fork, you should know how to add a remote for it and how to use.
Look into thesetting.gradleand you will seerootProject.name = 'LiquidBounce' if (System.getenv()['mcversion'] == "1.12") { include '1.12.2-Forge' } else { include '1.8.9-Forge' } // include '1.8.9-Vanilla'Which means you only have to make the environment variable
mcversionequals to1.12then you can dogradlew build.
On *nix u need to usemcversion="1.12" bash ./gradlew build, I already forgot how to temporarily set a environment variable on Windows.

The jar will be at
1.12.2-Forge/build/libs/LiquidBounce-B73.jarHowever I have not found a way to change environment variable in Intellij idea, because simple modifying
setting.gradletakes less energy(still bad tho).Btw last time when I compiled
cross_versionstuff I had to modify one import statment to compile, never tested tho(it was at this commit). There seemed to be more frequent commits lately, it might be ready to use in a short period I guess.(Spoiler: there is a new branch for 1.16.2-fabric, however there is no commit yet)Edit: I tested and crashed when I tired to launch lol.
Edit: Crashing in splash screen does not always happens. I managed to launch once@commandblock2 said in Some questions about LiquidBounce - cross_version:
gradlew build
Hello, I have completed gradlew build according to your tutorial, and there is no problem displayed on my IntelliJ idea. When I tried to run the source code of 1.12.2-forge, my IntelliJ idea made a mistake in the build source code. I collected the wrong information, please see:Log.txt
and
Log(2).txt
Can you help me to find out the reason and give the solutions? :) -
@commandblock2 said in Some questions about LiquidBounce - cross_version:
gradlew build
Hello, I have completed gradlew build according to your tutorial, and there is no problem displayed on my IntelliJ idea. When I tried to run the source code of 1.12.2-forge, my IntelliJ idea made a mistake in the build source code. I collected the wrong information, please see:Log.txt
and
Log(2).txt
Can you help me to find out the reason and give the solutions? :)@NUMB yeah, that was what I said about
I had to modify one import statment
It was because of
EasingObjectwas not here, you can search for it or see how 1.8.9-Forge did it.
Edit:import net.ccbluex.liquidbounce.injection.utils.EasingObject;->import net.ccbluex.liquidbounce.utils.render.EasingObject;.
Edit: of the filenet/ccbluex/liquidbounce/injection/forge/mixins/fml/MixinSplashProgressAC2.java
No I still don't no why it crashes -
@NUMB yeah, that was what I said about
I had to modify one import statment
It was because of
EasingObjectwas not here, you can search for it or see how 1.8.9-Forge did it.
Edit:import net.ccbluex.liquidbounce.injection.utils.EasingObject;->import net.ccbluex.liquidbounce.utils.render.EasingObject;.
Edit: of the filenet/ccbluex/liquidbounce/injection/forge/mixins/fml/MixinSplashProgressAC2.java
No I still don't no why it crashes@commandblock2 emmm, I think I have the same situation. When I run the 1.12.2 source, my idea runs to "at" java.lang.ClassLoader .loadClass( ClassLoader.java:351 ) ~[?:1.8.0_ 251] "when the source of 1.12.2 stopped running, I suspect it seems to crash, I did not find a solution to it, did you solve it?
Crash: [16:00:40] [main / Info]: Extra: []
[16:00:40] [main/ERROR]: Failed to find class net.minecraftforge.fml . common.asm.transformers .ModAccessTransformer
[16:00:42] [main/INFO]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/19077/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml . common.launcher.FMLTweaker , --tweakClass, net.minecraftforge.gradle . tweakers.CoremodTweaker ]
[16:00:42] [main/INFO]: Loading tweak class name net.minecraftforge.fml . common.launcher.FMLTweaker
[16:00:42] [main/ERROR]: Unable to launch
java at net.minecraft.launchwrapper . LaunchClassLoader.findClass ( LaunchClassLoader.java:106 ) ~[launchwrapper-1.12.jar:?]
At java.lang.ClassLoader .loadClass( ClassLoader.java:418 ) ~[?:1.8.0_ 251]
At java.lang.ClassLoader .loadClass( ClassLoader.java:351 ) ~[?:1.8.0_ 251]
At java.lang.Class .forName0(Native Method) ~[?:1.8.0_ 251]
At java.lang.Class .forName( Class.java:348 ) ~[?:1.8.0_ 251]
At net.minecraft.launchwrapper . Launch.launch ( Launch.java:98 ) [launchwrapper-1.12.jar:?]
At net.minecraft.launchwrapper . Launch.main ( Launch.java:28 ) [launchwrapper-1.12.jar:?]
At sun.reflect.NativeMethodAccessorImpl .invoke0(Native Method) ~[?:1.8.0_ 251]
At sun.reflect.NativeMethodAccessorImpl .invoke(Nati veMethodAccessorImpl.java:62 ) ~[?:1.8.0_ 251]
At sun.reflect.DelegatingMethodAccessorImpl .invoke(Delegati ngMethodAccessorImpl.java:43 ) ~[?:1.8.0_ 251]
At java.lang.reflect . Method.invoke ( Method.java:498 ) ~[?:1.8.0_ 251]
At net.minecraftforge.gradle . GradleStartCommon.launch ( GradleStartCommon.java:97 ) [start/:?]
At GradleStart.main ( GradleStart.java:25 ) [start/:?]. lang.ClassNotFoundException : net.minecraftforge.fml . common.launcher.FMLTweaker
At java.net.URLClassLoader .findClass( URLClassLoader.java:382 ) ~[?:1.8.0_ 251]
At java.lang.ClassLoader .loadClass( ClassLoader.java:418 ) ~[?:1.8.0_ 251]
At sun.misc.Launcher $ AppClassLoader.loadClass ( Launcher.java:355 ) ~[?:1.8.0_ 251]
At java.lang.ClassLoader .loadClass( ClassLoader.java:351 ) ~[?:1.8.0_ 251]
Process finished with exit code 1
-
@commandblock2 emmm, I think I have the same situation. When I run the 1.12.2 source, my idea runs to "at" java.lang.ClassLoader .loadClass( ClassLoader.java:351 ) ~[?:1.8.0_ 251] "when the source of 1.12.2 stopped running, I suspect it seems to crash, I did not find a solution to it, did you solve it?
Crash: [16:00:40] [main / Info]: Extra: []
[16:00:40] [main/ERROR]: Failed to find class net.minecraftforge.fml . common.asm.transformers .ModAccessTransformer
[16:00:42] [main/INFO]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/19077/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml . common.launcher.FMLTweaker , --tweakClass, net.minecraftforge.gradle . tweakers.CoremodTweaker ]
[16:00:42] [main/INFO]: Loading tweak class name net.minecraftforge.fml . common.launcher.FMLTweaker
[16:00:42] [main/ERROR]: Unable to launch
java at net.minecraft.launchwrapper . LaunchClassLoader.findClass ( LaunchClassLoader.java:106 ) ~[launchwrapper-1.12.jar:?]
At java.lang.ClassLoader .loadClass( ClassLoader.java:418 ) ~[?:1.8.0_ 251]
At java.lang.ClassLoader .loadClass( ClassLoader.java:351 ) ~[?:1.8.0_ 251]
At java.lang.Class .forName0(Native Method) ~[?:1.8.0_ 251]
At java.lang.Class .forName( Class.java:348 ) ~[?:1.8.0_ 251]
At net.minecraft.launchwrapper . Launch.launch ( Launch.java:98 ) [launchwrapper-1.12.jar:?]
At net.minecraft.launchwrapper . Launch.main ( Launch.java:28 ) [launchwrapper-1.12.jar:?]
At sun.reflect.NativeMethodAccessorImpl .invoke0(Native Method) ~[?:1.8.0_ 251]
At sun.reflect.NativeMethodAccessorImpl .invoke(Nati veMethodAccessorImpl.java:62 ) ~[?:1.8.0_ 251]
At sun.reflect.DelegatingMethodAccessorImpl .invoke(Delegati ngMethodAccessorImpl.java:43 ) ~[?:1.8.0_ 251]
At java.lang.reflect . Method.invoke ( Method.java:498 ) ~[?:1.8.0_ 251]
At net.minecraftforge.gradle . GradleStartCommon.launch ( GradleStartCommon.java:97 ) [start/:?]
At GradleStart.main ( GradleStart.java:25 ) [start/:?]. lang.ClassNotFoundException : net.minecraftforge.fml . common.launcher.FMLTweaker
At java.net.URLClassLoader .findClass( URLClassLoader.java:382 ) ~[?:1.8.0_ 251]
At java.lang.ClassLoader .loadClass( ClassLoader.java:418 ) ~[?:1.8.0_ 251]
At sun.misc.Launcher $ AppClassLoader.loadClass ( Launcher.java:355 ) ~[?:1.8.0_ 251]
At java.lang.ClassLoader .loadClass( ClassLoader.java:351 ) ~[?:1.8.0_ 251]
Process finished with exit code 1
@NUMB No. It's still a dev version and it can sometime launch. Idk if it is my problem
-
@NUMB No. It's still a dev version and it can sometime launch. Idk if it is my problem
@commandblock2 That is to say I IDE will start game?
-
@commandblock2 That is to say I IDE will start game?
@NUMB It will crash most times, but some times could launch, I didn't investigate anymore.
-
@NUMB It will crash most times, but some times could launch, I didn't investigate anymore.
@commandblock2 I know that you have put a lot of energy into answering my question, but I have another question. I run in debug mode, and "disconnected from the target VM, address: '127.0.0.1:60563', Transport: 'socket' "error, and then quit running. I used the DOS command window to query the process of port" 60563 ", and found that no process occupied the port. This puzzled me. Can you help me?
-
@commandblock2 I know that you have put a lot of energy into answering my question, but I have another question. I run in debug mode, and "disconnected from the target VM, address: '127.0.0.1:60563', Transport: 'socket' "error, and then quit running. I used the DOS command window to query the process of port" 60563 ", and found that no process occupied the port. This puzzled me. Can you help me?
@NUMB idk, I think I used to have this problem but now I don't seem to able to reproduce it. Maybe just try more times it might be fine
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login