-
-
Notifications
You must be signed in to change notification settings - Fork 131
Examples (Geckolib 4)
GeckoLib includes several example implementations of its various features.
These are only present while in development environments, and can be accessed during debug runs or through the IDE in the example package
If for some reason you don't want GeckoLib to have its built-in example items/blocks/entities/etc while in dev, add the below property to your run configuration in your build.gradle
file
'-Dgeckolib.disable_examples=true'
GeckoLib has 8 example entities:
- A Bat that uses molang for all its animations, as well as showcasing worldspace bone positioning and head turning
- A Vehicle that showcases some more advanced molang queries
- An Abstract Entity that showcases how to use GeoLayers with Geckolib models
- The Dynamic Entity that showcases the extra features when using the DynamicGeoEntityRenderer.
- A Fake Glass Entity that uses the
DynamicGeoEntityRenderer
to show per-bone texture handling - A Parasite Entity That shows multiple controllers working together for a basic walking & attacking creature
- A Car Entity That shows usage of animated textures
- A Replaced Creeper Entity That shows how to use the GeoReplacedEntityRenderer to replace existing non-geckolib entity models
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.
The JackInTheBoxItem
is an example animated item that plays music and an animation on right click.
GeckoArmorItem
and `WolfArmorItem are animated armor examples that plays an idle animation only when all 4 armor pieces are equipped.
The ReplacedCreeperEntity
is an example of a GeckoLib animated model dynamically replacing an existing vanilla entity model
Geckolib 3
Geckolib 4
- Installation
- Getting Started
- Upgrading from GeckoLib 3.1.x to 4.0
- Updating to GeckoLib 4.5
- Basic
- Advanced
- Miscellaneous
Package repository hosting is graciously provided by Cloudsmith.
Cloudsmith is the only fully hosted, cloud-native, universal package management solution that enables your organization to create, store and share packages in any format, to any place, with total confidence.