FAQ
Modded: Animation
1.19+: Since 1.19, Minecraft has an in code animation system. This system is meant for Entities, but can also be used for block entities or items using a block entity renderer. Create a Modded Entity project and switch to the Animate mode to create an animation. It does not require any further libraries, you can take a look at the Warden and Frog code to see how to use those. The approaches explained below can be used as an alternative.
1.15.2+ (and 1.12.2): Before 1.19 the only way to use Blockbench animations in Mods was to use Geckolib. Geckolib can be used for items, blocks and entities. You need the Geckolib plugin for Blockbench, and additionally your mod will have to depend on the Geckolib library. For more information about it, you can visit their wiki: https://github.com/bernie-g/geckolib/wiki
Alternatively it is possible to create animations using math expressions (like sine curves) in your render code.
Mcreator currently has no official support for Blockbench animations.