Skip to content

Installation

Installing the Library

To install the actual geckolib forge library, insert this dependency snippet into your build.gradle.

repositories {
    maven { url 'https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/' }
}
dependencies {
    implementation fg.deobf('software.bernie.geckolib:geckolib-forge-1.16.5:3.0.40')
}
repositories {
    maven { url 'https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/' }
}
dependencies {
    modImplementation 'software.bernie.geckolib:geckolib-fabric-1.16.5:3.0.40:dev'
}
repositories {
    maven { url 'https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/' }
}
dependencies {
    modImplementation 'software.bernie.geckolib:geckolib-fabric-1.17:3.0.5:dev'
}
repositories{
    maven { url 'https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/' }
}
dependencies{
    deobfCompile('software.bernie.geckolib:forge-1.12.2-geckolib:3.0.0-beta.7')
}
repositories{
    maven { url 'https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/' }
}
dependencies{
    compile fg.deobf('software.bernie.geckolib:geckolib-forge-1.15.2:3.0.32')
}

Failure

Do not put this in your buildscript section!

Initializing GeckoLib

Important!

Since GeckoLib is no longer an actual mod but rather a plain old library, you'll have to do a tiny bit more work to get it started.

If you are using forge, simply put this line in your mod's constructor:

GeckoLib.initialize();

Fabric

For Fabric, you'll have to do this in your mod's onInitialize() method.

Installing the BB Plugin

To install the blockbench plugin, simply go to File -> Plugins -> Available -> Install GeckoLib Animation Utils.