Skip to main content
Version: GeckoLib5

Setting the Version

Once you have your GeckoLib version identified (see Finding the Version), you'll need to set it in your project so that it can be used.

Setting the version

You'll need to set the version in either your gradle.properties file, or your libs.versions.toml file if you use version catalogues.

If you're not sure, you probably use gradle.properties.

  1. Find your gradle.properties file (located in the root directory of your project), and open it
  2. Add a new line at the bottom of the file with the following content:
geckolibVersion=

and put your version number at the end, after the = symbol

  1. While you're there, check that you have a minecraftVersion property set as well, as you'll need that later