Skip to content

Geckolib 4 Changes

Tslat edited this page Nov 19, 2022 · 27 revisions

Upgrading from GeckoLib 3.1.x to 4.0

GeckoLib 4.0 was a substantial overhaul of the entire library and all of its associated classes. Because of this, there will be some things you will need to change in your mod to update your mod to work with GeckoLib 4.0+

Change Summary

Due to the extent of the overhaul in 4.0, there's not really any point in listing out all changes. Instead we can give a quick summary of the things that are most likely to impact you as a mod dev.

The below list is not an exhaustive list of changes, these are just the ones that are likely to be the most important ones

Class Renames

  • AnimationData -> AnimatableManager
  • IGeoRenderer -> GeoRenderer
  • GeoLayerRenderer -> GeoRenderLayer
  • LayerGlowingAreasGeo -> AutoGlowingGeoLayer
  • AnimatedGeoModel -> GeoModel
  • GeckoLibIdTracker -> AnimatableIdCache
  • AnimationBuilder -> RawAnimation
  • IAnimatable -> GeoAnimatable
  • IBone -> CoreGeoBone
  • ILoopType -> Animation$LoopType

Class Merges/Removals

  • AbstractLayerGeo -> Merged into GeoRenderLayer
  • IAnimatableModelProvider -> Removed, functionality moved into renderers
  • GeoModelProvider -> Removed, functionality moved into renderers
  • AnimatedTickingGeoModel -> Removed, functionality moved into renderers
  • EasingManager -> Merged into EasingType
  • EasingFunctionArgs -> Merged into EasingType
  • IAnimationTickable -> Removed, functionality moved into renderers
  • IAnimatableModel -> Merged into GeoModel
  • EDefaultLoopTypes -> Merged into Animation$LoopType

Table of Contents

Geckolib 3
Geckolib 4

Hosted By: Cloudsmith

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.

Clone this wiki locally