-
-
Notifications
You must be signed in to change notification settings - Fork 131
Animated Textures (Geckolib4)
New to GeckoLib4 is the ability to animate the textures that your GeoAnimatable objects use. This includes all GeckoLib object types such as entities, blocks, items, etc.
NOTE: GeckoLib animated textures are currently not compatible with GeckoLib emissive textures.
GeckoLib automatically handles animated textures for you so long as you have your file set up properly.
To make your texture animated, you set it up the exact same way you do for animated block or item textures in vanilla Minecraft.
- Make a text file in your texture folder (where your animated texture is), and name it .png.mcmeta E.G: Texture: zombie.png New File: zombie.png.mcmeta
- In it, put the following: `{ "animation": {
} }`
You can set/add additional properties in that animation block to adjust your animation, see the wiki page linked above for more info. 3. Make your animated texture png. See vanilla examples such as fire or water to see how it is formatted.
That's it! Use that texture for your GeoAnimatable, and it'll be handled automatically.
GeckoLib supports all standard .mcmeta properties in its texture animations.
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.