Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • 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. How to construct the liquidbounce problem

How to construct the liquidbounce problem

Scheduled Pinned Locked Moved Kotlin/Java
24 Posts 8 Posters 6.3k 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.
  • W wangtian297

    I used idea to build a liquidbounce, but I couldn't find the API- java.jar How to solve this problem

    RiodoroR Offline
    RiodoroR Offline
    Riodoro
    wrote on last edited by Riodoro
    #6

    @wangtian297

    open the build.gradle in the forge 1.8.9 folder
    goto line 83
    and change these lines

    from this:

    implementation 'com.github.TheAltening:API-Java:master-SNAPSHOT'
    implementation 'com.github.TheAltening:API-Java-AuthLib:-SNAPSHOT'
    compile 'com.github.TheAltening:API-Java:api-2.0-SNAPSHOT'
    compile 'com.github.TheAltening:API-Java-AuthLib:-SNAPSHOT'
    

    to this:

    implementation 'com.github.TheAltening:TheAltening4j:master-SNAPSHOT'
    implementation 'com.github.TheAltening:API-Java-AuthLib:-SNAPSHOT'
    compile 'com.github.TheAltening:TheAltening4j:api-2.0-22541fa70f-1'
    compile 'com.github.TheAltening:API-Java-AuthLib:-SNAPSHOT'
    

    This schoud fix it 🙂

    O W 2 Replies Last reply
    0
    • RiodoroR Riodoro

      @wangtian297

      open the build.gradle in the forge 1.8.9 folder
      goto line 83
      and change these lines

      from this:

      implementation 'com.github.TheAltening:API-Java:master-SNAPSHOT'
      implementation 'com.github.TheAltening:API-Java-AuthLib:-SNAPSHOT'
      compile 'com.github.TheAltening:API-Java:api-2.0-SNAPSHOT'
      compile 'com.github.TheAltening:API-Java-AuthLib:-SNAPSHOT'
      

      to this:

      implementation 'com.github.TheAltening:TheAltening4j:master-SNAPSHOT'
      implementation 'com.github.TheAltening:API-Java-AuthLib:-SNAPSHOT'
      compile 'com.github.TheAltening:TheAltening4j:api-2.0-22541fa70f-1'
      compile 'com.github.TheAltening:API-Java-AuthLib:-SNAPSHOT'
      

      This schoud fix it 🙂

      O Offline
      O Offline
      ohno
      wrote on last edited by
      #7

      @riodoro ...
      its 4j...

      RiodoroR 1 Reply Last reply
      0
      • W wangtian297

        @ohno No, it's the problem
        ![_]{O(UUY91P3IL56KCQ5}M.png

        O Offline
        O Offline
        ohno
        wrote on last edited by
        #8

        @wangtian297 f17e0783-5c52-4ed4-b8f6-d24770ef20d5-image.png

        W 1 Reply Last reply
        0
        • O ohno

          @wangtian297 f17e0783-5c52-4ed4-b8f6-d24770ef20d5-image.png

          W Offline
          W Offline
          wangtian297
          wrote on last edited by
          #9

          @ohno It's no use to him. Thank you

          1 Reply Last reply
          0
          • O ohno

            @riodoro ...
            its 4j...

            RiodoroR Offline
            RiodoroR Offline
            Riodoro
            wrote on last edited by
            #10

            @ohno

            its works...

            it looks like they changed something

            i changed it like this an it works lol

            1 Reply Last reply
            0
            • RiodoroR Riodoro

              @wangtian297

              open the build.gradle in the forge 1.8.9 folder
              goto line 83
              and change these lines

              from this:

              implementation 'com.github.TheAltening:API-Java:master-SNAPSHOT'
              implementation 'com.github.TheAltening:API-Java-AuthLib:-SNAPSHOT'
              compile 'com.github.TheAltening:API-Java:api-2.0-SNAPSHOT'
              compile 'com.github.TheAltening:API-Java-AuthLib:-SNAPSHOT'
              

              to this:

              implementation 'com.github.TheAltening:TheAltening4j:master-SNAPSHOT'
              implementation 'com.github.TheAltening:API-Java-AuthLib:-SNAPSHOT'
              compile 'com.github.TheAltening:TheAltening4j:api-2.0-22541fa70f-1'
              compile 'com.github.TheAltening:API-Java-AuthLib:-SNAPSHOT'
              

              This schoud fix it 🙂

              W Offline
              W Offline
              wangtian297
              wrote on last edited by
              #11

              @riodoro Another question
              MB$2GKBE~PD3C`KV7TG_4R2.png

              RiodoroR 1 Reply Last reply
              0
              • W wangtian297

                @riodoro Another question
                MB$2GKBE~PD3C`KV7TG_4R2.png

                RiodoroR Offline
                RiodoroR Offline
                Riodoro
                wrote on last edited by
                #12
                This post is deleted!
                1 Reply Last reply
                0
                • W Offline
                  W Offline
                  wangtian297
                  wrote on last edited by
                  #13

                  ![)JO%SD7R()1{LIXFBQ76.png
                  How to solve this problem? I have compiled it successfully before, but now it is not clear that there is a problem

                  RiodoroR 1 Reply Last reply
                  0
                  • W wangtian297

                    ![)JO%SD7R()1{LIXFBQ76.png
                    How to solve this problem? I have compiled it successfully before, but now it is not clear that there is a problem

                    RiodoroR Offline
                    RiodoroR Offline
                    Riodoro
                    wrote on last edited by
                    #14

                    @wangtian297

                    try this build.gradle:

                    build.gradle.zip

                    this one schould work
                    just put it in the forge-1.8.9 folder and try again

                    W 1 Reply Last reply
                    0
                    • RiodoroR Riodoro

                      @wangtian297

                      try this build.gradle:

                      build.gradle.zip

                      this one schould work
                      just put it in the forge-1.8.9 folder and try again

                      W Offline
                      W Offline
                      wangtian297
                      wrote on last edited by
                      #15

                      @riodoro useless
                      J$G1NDND)X.png

                      RiodoroR 1 Reply Last reply
                      0
                      • W wangtian297

                        @riodoro useless
                        J$G1NDND)X.png

                        RiodoroR Offline
                        RiodoroR Offline
                        Riodoro
                        wrote on last edited by
                        #16

                        @wangtian297

                        hmmm idk

                        it says finished so maybe try to run it.? idk

                        1 Reply Last reply
                        0
                        • GkingG Offline
                          GkingG Offline
                          Gking
                          wrote on last edited by
                          #17

                          change master-SNAPSHOT to d0771f42d3
                          because SNAPSHOT is crashed
                          you can use this link

                          A W M 3 Replies Last reply
                          0
                          • GkingG Gking

                            change master-SNAPSHOT to d0771f42d3
                            because SNAPSHOT is crashed
                            you can use this link

                            A Offline
                            A Offline
                            Aftery
                            wrote on last edited by
                            #18

                            @gking what link

                            1 Reply Last reply
                            0
                            • GkingG Gking

                              change master-SNAPSHOT to d0771f42d3
                              because SNAPSHOT is crashed
                              you can use this link

                              W Offline
                              W Offline
                              wangtian297
                              wrote on last edited by
                              #19

                              @gking said in How to construct the liquidbounce problem:

                              d0771f42d3
                              what link ?

                              1 Reply Last reply
                              0
                              • GkingG Gking

                                change master-SNAPSHOT to d0771f42d3
                                because SNAPSHOT is crashed
                                you can use this link

                                M Offline
                                M Offline
                                miky08p
                                wrote on last edited by miky08p
                                #20

                                @gking what i Need to change, i have the extact same issue

                                TheMossYTT 2 Replies Last reply
                                0
                                • M miky08p

                                  @gking what i Need to change, i have the extact same issue

                                  TheMossYTT Offline
                                  TheMossYTT Offline
                                  TheMossYT
                                  wrote on last edited by
                                  #21

                                  @miky08p try this build.gradle, I try it and it work
                                  build.gradle in there.zip
                                  Replace it in 1.8.9-forge and the build.gradle file are in there

                                  1 Reply Last reply
                                  0
                                  • M miky08p

                                    @gking what i Need to change, i have the extact same issue

                                    TheMossYTT Offline
                                    TheMossYTT Offline
                                    TheMossYT
                                    wrote on last edited by
                                    #22

                                    @miky08p if you lazy to download the file
                                    Here the code

                                    buildscript {
                                    
                                        repositories {
                                            jcenter()
                                            mavenLocal()
                                            mavenCentral()
                                    
                                            maven { url 'https://files.minecraftforge.net/maven' }
                                            maven { url 'https://plugins.gradle.org/m2' }
                                            maven { url 'https://repo.spongepowered.org/maven' }
                                        }
                                    
                                        dependencies {
                                            classpath group: 'org.jetbrains.kotlin', name: 'kotlin-gradle-plugin', version: kotlin_version
                                            classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '2.1-SNAPSHOT'
                                            classpath group: 'org.spongepowered', name: 'mixingradle', version: '0.6-SNAPSHOT'
                                            classpath group: 'com.github.jengelman.gradle.plugins', name: 'shadow', version: '4.0.4'
                                        }
                                    }
                                    
                                    // Languages
                                    apply plugin: 'java'
                                    apply plugin: 'kotlin'
                                    
                                    // IDE
                                    apply plugin: 'idea'
                                    
                                    // Minecraft
                                    apply plugin: 'net.minecraftforge.gradle.forge'
                                    apply plugin: 'org.spongepowered.mixin'
                                    
                                    // Jar packaging
                                    apply plugin: 'com.github.johnrengelman.shadow'
                                    
                                    sourceCompatibility = JavaVersion.VERSION_1_8
                                    targetCompatibility = JavaVersion.VERSION_1_8
                                    compileJava.options.encoding = 'UTF-8'
                                    
                                    sourceSets {
                                        main.java.srcDirs += 'src/main/java'
                                        main.java.srcDirs += '../shared/main/java'
                                        main.resources.srcDirs += '../shared/main/resources'
                                    }
                                    
                                    
                                    compileKotlin {
                                        kotlinOptions {
                                            jvmTarget = '1.8'
                                        }
                                    }
                                    
                                    compileTestKotlin {
                                        kotlinOptions {
                                            jvmTarget = '1.8'
                                        }
                                    }
                                    
                                    idea {
                                        module {
                                            inheritOutputDirs = true
                                        }
                                    }
                                    
                                    archivesBaseName = 'LiquidBounce'
                                    
                                    minecraft {
                                        version = '1.8.9-11.15.1.2318-1.8.9'
                                        runDir = 'run'
                                        mappings = 'stable_22'
                                        makeObfSourceJar = false
                                    }
                                    
                                    repositories {
                                        mavenLocal()
                                        mavenCentral()
                                        jcenter()
                                    
                                        maven { url 'https://jitpack.io' }
                                        maven { url 'https://repo.spongepowered.org/maven/' }
                                    }
                                    
                                    dependencies {
                                        compile('org.spongepowered:mixin:0.7.10-SNAPSHOT') {
                                            exclude module: 'launchwrapper'
                                        }
                                    
                                        compile 'com.jagrosh:DiscordIPC:0.4'
                                        compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version: kotlin_version
                                    
                                        implementation 'com.github.TheAltening:TheAltening4j:d0771f42d3'
                                        implementation 'com.github.TheAltening:TheAlteningAuth4j:-SNAPSHOT'
                                        compile 'com.github.TheAltening:TheAltening4j:api-2.0-SNAPSHOT'
                                        compile 'com.github.TheAltening:TheAlteningAuth4j:-SNAPSHOT'
                                        compile('commons-io:commons-io') {
                                            version {
                                                strictly '2.5'
                                            }
                                        }
                                    
                                        compile fileTree(include: ['*.jar'], dir: 'libs')
                                    }
                                    
                                    processResources {
                                        inputs.property 'version', project.version
                                        inputs.property 'mcversion', project.minecraft.version
                                    
                                        from(sourceSets.main.resources.srcDirs) {
                                            include 'mcmod.info'
                                    
                                            expand 'version':project.version, 'mcversion':project.minecraft.version
                                        }
                                    
                                        from(sourceSets.main.resources.srcDirs) {
                                            exclude 'mcmod.info'
                                        }
                                    
                                        rename '(.+_at.cfg)', 'META-INF/$1'
                                    }
                                    
                                    mixin {
                                        add sourceSets.main, 'liquidbounce.mixins.refmap.json'
                                    }
                                    
                                    jar {
                                        manifest.attributes(
                                                'MixinConfigs': 'liquidbounce.forge.mixins.json',
                                                'tweakClass': 'org.spongepowered.asm.launch.MixinTweaker',
                                                'TweakOrder': 0,
                                                'FMLCorePluginContainsFMLMod': 'net.ccbluex.liquidbounce.injection.forge.MixinLoader',
                                                'FMLCorePlugin': 'net.ccbluex.liquidbounce.injection.forge.TransformerLoader',
                                                'FMLAT': 'liquidbounce_at.cfg',
                                                'Manifest-Version': 1.0,
                                                'Main-Class': 'net.ccbluex.liquidinstruction.LiquidInstructionKt'
                                        )
                                    }
                                    
                                    shadowJar {
                                        dependencies {
                                            include(dependency('org.spongepowered:mixin'))
                                            include(dependency('com.jagrosh:DiscordIPC'))
                                            include(dependency('org.slf4j:slf4j-api'))
                                            include(dependency('log4j:log4j:1.2.17'))
                                            include(dependency('org.scijava:native-lib-loader'))
                                            include(dependency('com.kohlschutter.junixsocket:junixsocket-common'))
                                            include(dependency('com.kohlschutter.junixsocket:junixsocket-native-common'))
                                    
                                            include(dependency('org.jetbrains.kotlin:kotlin-stdlib'))
                                    
                                            include(dependency('com.github.TheAltening:TheAltening4j'))
                                            include(dependency('com.github.TheAltening:TheAlteningAuth4j'))
                                        }
                                    
                                        exclude 'dummyThing'
                                        exclude 'LICENSE.txt'
                                    
                                        classifier = ''
                                    }
                                    
                                    reobf { shadowJar { mappingType = 'SEARGE' } }
                                    tasks.reobfShadowJar.mustRunAfter shadowJar
                                    
                                    configurations {
                                        external
                                        compile.extendsFrom external
                                    }
                                    
                                    build.dependsOn shadowJar
                                    
                                    M 1 Reply Last reply
                                    0
                                    • TheMossYTT TheMossYT

                                      @miky08p if you lazy to download the file
                                      Here the code

                                      buildscript {
                                      
                                          repositories {
                                              jcenter()
                                              mavenLocal()
                                              mavenCentral()
                                      
                                              maven { url 'https://files.minecraftforge.net/maven' }
                                              maven { url 'https://plugins.gradle.org/m2' }
                                              maven { url 'https://repo.spongepowered.org/maven' }
                                          }
                                      
                                          dependencies {
                                              classpath group: 'org.jetbrains.kotlin', name: 'kotlin-gradle-plugin', version: kotlin_version
                                              classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '2.1-SNAPSHOT'
                                              classpath group: 'org.spongepowered', name: 'mixingradle', version: '0.6-SNAPSHOT'
                                              classpath group: 'com.github.jengelman.gradle.plugins', name: 'shadow', version: '4.0.4'
                                          }
                                      }
                                      
                                      // Languages
                                      apply plugin: 'java'
                                      apply plugin: 'kotlin'
                                      
                                      // IDE
                                      apply plugin: 'idea'
                                      
                                      // Minecraft
                                      apply plugin: 'net.minecraftforge.gradle.forge'
                                      apply plugin: 'org.spongepowered.mixin'
                                      
                                      // Jar packaging
                                      apply plugin: 'com.github.johnrengelman.shadow'
                                      
                                      sourceCompatibility = JavaVersion.VERSION_1_8
                                      targetCompatibility = JavaVersion.VERSION_1_8
                                      compileJava.options.encoding = 'UTF-8'
                                      
                                      sourceSets {
                                          main.java.srcDirs += 'src/main/java'
                                          main.java.srcDirs += '../shared/main/java'
                                          main.resources.srcDirs += '../shared/main/resources'
                                      }
                                      
                                      
                                      compileKotlin {
                                          kotlinOptions {
                                              jvmTarget = '1.8'
                                          }
                                      }
                                      
                                      compileTestKotlin {
                                          kotlinOptions {
                                              jvmTarget = '1.8'
                                          }
                                      }
                                      
                                      idea {
                                          module {
                                              inheritOutputDirs = true
                                          }
                                      }
                                      
                                      archivesBaseName = 'LiquidBounce'
                                      
                                      minecraft {
                                          version = '1.8.9-11.15.1.2318-1.8.9'
                                          runDir = 'run'
                                          mappings = 'stable_22'
                                          makeObfSourceJar = false
                                      }
                                      
                                      repositories {
                                          mavenLocal()
                                          mavenCentral()
                                          jcenter()
                                      
                                          maven { url 'https://jitpack.io' }
                                          maven { url 'https://repo.spongepowered.org/maven/' }
                                      }
                                      
                                      dependencies {
                                          compile('org.spongepowered:mixin:0.7.10-SNAPSHOT') {
                                              exclude module: 'launchwrapper'
                                          }
                                      
                                          compile 'com.jagrosh:DiscordIPC:0.4'
                                          compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version: kotlin_version
                                      
                                          implementation 'com.github.TheAltening:TheAltening4j:d0771f42d3'
                                          implementation 'com.github.TheAltening:TheAlteningAuth4j:-SNAPSHOT'
                                          compile 'com.github.TheAltening:TheAltening4j:api-2.0-SNAPSHOT'
                                          compile 'com.github.TheAltening:TheAlteningAuth4j:-SNAPSHOT'
                                          compile('commons-io:commons-io') {
                                              version {
                                                  strictly '2.5'
                                              }
                                          }
                                      
                                          compile fileTree(include: ['*.jar'], dir: 'libs')
                                      }
                                      
                                      processResources {
                                          inputs.property 'version', project.version
                                          inputs.property 'mcversion', project.minecraft.version
                                      
                                          from(sourceSets.main.resources.srcDirs) {
                                              include 'mcmod.info'
                                      
                                              expand 'version':project.version, 'mcversion':project.minecraft.version
                                          }
                                      
                                          from(sourceSets.main.resources.srcDirs) {
                                              exclude 'mcmod.info'
                                          }
                                      
                                          rename '(.+_at.cfg)', 'META-INF/$1'
                                      }
                                      
                                      mixin {
                                          add sourceSets.main, 'liquidbounce.mixins.refmap.json'
                                      }
                                      
                                      jar {
                                          manifest.attributes(
                                                  'MixinConfigs': 'liquidbounce.forge.mixins.json',
                                                  'tweakClass': 'org.spongepowered.asm.launch.MixinTweaker',
                                                  'TweakOrder': 0,
                                                  'FMLCorePluginContainsFMLMod': 'net.ccbluex.liquidbounce.injection.forge.MixinLoader',
                                                  'FMLCorePlugin': 'net.ccbluex.liquidbounce.injection.forge.TransformerLoader',
                                                  'FMLAT': 'liquidbounce_at.cfg',
                                                  'Manifest-Version': 1.0,
                                                  'Main-Class': 'net.ccbluex.liquidinstruction.LiquidInstructionKt'
                                          )
                                      }
                                      
                                      shadowJar {
                                          dependencies {
                                              include(dependency('org.spongepowered:mixin'))
                                              include(dependency('com.jagrosh:DiscordIPC'))
                                              include(dependency('org.slf4j:slf4j-api'))
                                              include(dependency('log4j:log4j:1.2.17'))
                                              include(dependency('org.scijava:native-lib-loader'))
                                              include(dependency('com.kohlschutter.junixsocket:junixsocket-common'))
                                              include(dependency('com.kohlschutter.junixsocket:junixsocket-native-common'))
                                      
                                              include(dependency('org.jetbrains.kotlin:kotlin-stdlib'))
                                      
                                              include(dependency('com.github.TheAltening:TheAltening4j'))
                                              include(dependency('com.github.TheAltening:TheAlteningAuth4j'))
                                          }
                                      
                                          exclude 'dummyThing'
                                          exclude 'LICENSE.txt'
                                      
                                          classifier = ''
                                      }
                                      
                                      reobf { shadowJar { mappingType = 'SEARGE' } }
                                      tasks.reobfShadowJar.mustRunAfter shadowJar
                                      
                                      configurations {
                                          external
                                          compile.extendsFrom external
                                      }
                                      
                                      build.dependsOn shadowJar
                                      
                                      M Offline
                                      M Offline
                                      miky08p
                                      wrote on last edited by
                                      #23

                                      @themossyt i Will try thanks, buy i know the configuration for' running It?

                                      TheMossYTT 1 Reply Last reply
                                      0
                                      • M miky08p

                                        @themossyt i Will try thanks, buy i know the configuration for' running It?

                                        TheMossYTT Offline
                                        TheMossYTT Offline
                                        TheMossYT
                                        wrote on last edited by
                                        #24

                                        @miky08p if it work before thealtening error, you can just dowbload then replace to 1.8.9-Forge and you finished

                                        1 Reply Last reply
                                        0
                                        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