GeckoLib Blocks – Introduction
GeckoLib supports rendering and animating BlockEntities.
To do so, you will need to create a standard Block and BlockEntity in much the same way you would a non-GeckoLib BlockEntity then add the GeckoLib parts onto it.
In total, you will need to complete the following steps:
- Create the
Blockclass - Create the
BlockEntityclass - Create the
BlockEntityrenderer class - Register the
BlockandBlockEntity - Register the renderer
- Create the blockstate and block model
.jsonfiles
When you're ready to begin, click Next at the bottom of the page to continue.
info
Just want some quick copy-paste code templates? Check out the GeckoLib Code Templates page.