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. How to construct the liquidbounce problem

How to construct the liquidbounce problem

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

          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