Skip to content

Examples (Geckolib 5)

Tslat edited this page Jun 9, 2025 · 1 revision

Examples

GeckoLib comes with several example implementations of its various features.

Note

Geckolib contains its example implementations in their own repository, built as an example multiloader mod project.

These were designed to be barebones implementations, so that implementation details can be seen with minimal fluff.

Entities

GeckoLib has 8 example entities:

Blocks

GeckoLib has the Gecko Habitat and Fertilizer example block models. The Habitat is a static single-animation block and the Fertilizer switches models, textures, and animations based on the current rain state.

Items

The JackInTheBoxItem is an example animated item that plays music and an animation on right click.

Armor

GeckoArmorItem and WolfArmorItem are animated armor examples that plays an idle animation only when all 4 armor pieces are equipped.

Clone this wiki locally