Skip to main content
Version: GeckoLib5

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:

  1. Create the Block class
  2. Create the BlockEntity class
  3. Create the BlockEntity renderer class
  4. Register the Block and BlockEntity
  5. Register the renderer
  6. Create the blockstate and block model .json files

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.