Installation
Installing the Library
To install the actual geckolib forge library, insert this dependency snippet into your build.gradle.
repositories{
maven { url 'https://repo.repsy.io/mvn/gandiber/geckolib' }
}
dependencies{
compile fg.deobf('software.bernie.geckolib:geckolib-forge-1.15.2:3.0.16')
}
repositories {
maven { url 'https://repo.repsy.io/mvn/gandiber/geckolib' }
}
dependencies {
implementation fg.deobf('software.bernie.geckolib:geckolib-forge-1.16.5:3.0.31')
}
repositories {
maven { url 'https://repo.repsy.io/mvn/gandiber/geckolib' }
}
dependencies {
modImplementation 'software.bernie.geckolib:geckolib-fabric-1.16.5:3.0.31:dev'
}
repositories{
maven { url 'https://repo.repsy.io/mvn/gandiber/geckolib' }
}
dependencies{
deobfCompile('software.bernie.geckolib:forge-1.12.2-geckolib:3.0.0-beta.7')
}
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
.