Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. Kotlin/Java
  3. Some questions about LiquidBounce - cross_version

Some questions about LiquidBounce - cross_version

Scheduled Pinned Locked Moved Kotlin/Java
15 Posts 4 Posters 3.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #2
    This post is deleted!
    NUMBN 2 Replies Last reply
    0
    • ? A Former User

      This post is deleted!

      NUMBN Offline
      NUMBN Offline
      NUMB
      wrote on last edited by
      #3

      @Leejames2305 Compile the bounce 1.12.2 liquid source

      1 Reply Last reply
      0
      • ? A Former User

        This post is deleted!

        NUMBN Offline
        NUMBN Offline
        NUMB
        wrote on last edited by
        #4

        @Leejames2305 Do you have any tutorial?

        notautismatallN 1 Reply Last reply
        0
        • NUMBN NUMB

          @Leejames2305 Do you have any tutorial?

          notautismatallN Offline
          notautismatallN Offline
          notautismatall
          wrote on last edited by
          #5

          @NUMB said in Some questions about LiquidBounce - cross_version:

          tutorial

          It isn't open-source yet

          1 Reply Last reply
          0
          • C Offline
            C Offline
            commandblock2
            wrote on last edited by commandblock2
            #6

            @NUMB
            Actually u can,
            The first step to do is to checkout the cross_version branch. (Default master branch does not contains any cross_version stuff yet)
            just cd to the root dir of LB and git checkout cross_version. If u use your fork, you should know how to add a remote for it and how to use.
            Look into the setting.gradle and you will see

            rootProject.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 mcversion equals to 1.12 then you can do gradlew build.
            On *nix u need to use mcversion="1.12" bash ./gradlew build, I already forgot how to temporarily set a environment variable on Windows.
            d2bc7f46-ac0c-47c2-8492-6ae417763a74-image.png

            The jar will be at 1.12.2-Forge/build/libs/LiquidBounce-B73.jar

            However I have not found a way to change environment variable in Intellij idea, because simple modifying setting.gradle takes less energy(still bad tho).

            Btw last time when I compiled cross_version stuff 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

            NUMBN 2 Replies Last reply
            1
            • C commandblock2

              @NUMB
              Actually u can,
              The first step to do is to checkout the cross_version branch. (Default master branch does not contains any cross_version stuff yet)
              just cd to the root dir of LB and git checkout cross_version. If u use your fork, you should know how to add a remote for it and how to use.
              Look into the setting.gradle and you will see

              rootProject.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 mcversion equals to 1.12 then you can do gradlew build.
              On *nix u need to use mcversion="1.12" bash ./gradlew build, I already forgot how to temporarily set a environment variable on Windows.
              d2bc7f46-ac0c-47c2-8492-6ae417763a74-image.png

              The jar will be at 1.12.2-Forge/build/libs/LiquidBounce-B73.jar

              However I have not found a way to change environment variable in Intellij idea, because simple modifying setting.gradle takes less energy(still bad tho).

              Btw last time when I compiled cross_version stuff 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

              NUMBN Offline
              NUMBN Offline
              NUMB
              wrote on last edited by
              #7

              @commandblock2 Thank you very much
              :)

              1 Reply Last reply
              0
              • C commandblock2

                @NUMB
                Actually u can,
                The first step to do is to checkout the cross_version branch. (Default master branch does not contains any cross_version stuff yet)
                just cd to the root dir of LB and git checkout cross_version. If u use your fork, you should know how to add a remote for it and how to use.
                Look into the setting.gradle and you will see

                rootProject.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 mcversion equals to 1.12 then you can do gradlew build.
                On *nix u need to use mcversion="1.12" bash ./gradlew build, I already forgot how to temporarily set a environment variable on Windows.
                d2bc7f46-ac0c-47c2-8492-6ae417763a74-image.png

                The jar will be at 1.12.2-Forge/build/libs/LiquidBounce-B73.jar

                However I have not found a way to change environment variable in Intellij idea, because simple modifying setting.gradle takes less energy(still bad tho).

                Btw last time when I compiled cross_version stuff 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

                NUMBN Offline
                NUMBN Offline
                NUMB
                wrote on last edited by
                #8

                @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? :)

                C 1 Reply Last reply
                0
                • NUMBN NUMB

                  @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? :)

                  C Offline
                  C Offline
                  commandblock2
                  wrote on last edited by commandblock2
                  #9

                  @NUMB yeah, that was what I said about

                  I had to modify one import statment

                  It was because ofEasingObjectwas 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 file net/ccbluex/liquidbounce/injection/forge/mixins/fml/MixinSplashProgressAC2.java
                  No I still don't no why it crashes

                  NUMBN 1 Reply Last reply
                  0
                  • C commandblock2

                    @NUMB yeah, that was what I said about

                    I had to modify one import statment

                    It was because ofEasingObjectwas 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 file net/ccbluex/liquidbounce/injection/forge/mixins/fml/MixinSplashProgressAC2.java
                    No I still don't no why it crashes

                    NUMBN Offline
                    NUMBN Offline
                    NUMB
                    wrote on last edited by
                    #10

                    @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

                    C 1 Reply Last reply
                    0
                    • NUMBN NUMB

                      @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

                      C Offline
                      C Offline
                      commandblock2
                      wrote on last edited by
                      #11

                      @NUMB No. It's still a dev version and it can sometime launch. Idk if it is my problem

                      NUMBN 1 Reply Last reply
                      0
                      • C commandblock2

                        @NUMB No. It's still a dev version and it can sometime launch. Idk if it is my problem

                        NUMBN Offline
                        NUMBN Offline
                        NUMB
                        wrote on last edited by
                        #12

                        @commandblock2 That is to say I IDE will start game?

                        C 1 Reply Last reply
                        0
                        • NUMBN NUMB

                          @commandblock2 That is to say I IDE will start game?

                          C Offline
                          C Offline
                          commandblock2
                          wrote on last edited by
                          #13

                          @NUMB It will crash most times, but some times could launch, I didn't investigate anymore.

                          NUMBN 1 Reply Last reply
                          0
                          • C commandblock2

                            @NUMB It will crash most times, but some times could launch, I didn't investigate anymore.

                            NUMBN Offline
                            NUMBN Offline
                            NUMB
                            wrote on last edited by
                            #14

                            @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?

                            C 1 Reply Last reply
                            0
                            • NUMBN NUMB

                              @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?

                              C Offline
                              C Offline
                              commandblock2
                              wrote on last edited by
                              #15

                              @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

                              1 Reply Last reply
                              0

                              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
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              About
                              • Terms of Service
                              • Privacy Policy
                              • Status
                              • Contact Us
                              Downloads
                              • Releases
                              • Source code
                              • License
                              Docs
                              • Tutorials
                              • CustomHUD
                              • AutoSettings
                              • ScriptAPI
                              Community
                              • Forum
                              • Guilded
                              • YouTube
                              • Twitter
                              • D.Tube
                              • Login

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Users
                              • Groups