Style Creation: BlockBench - BounceSMP/BounceStyles GitHub Wiki

Introduction

To create a new Style for BounceStyles, there are a couple of steps necessary, from Modelling, Texturing, and Animating the model, to registering the actual Style for use ingame.

However, we will only cover the information you need to know specifically for getting your models to work with BounceStyles, and specifically GeckoLib, so if you don't understand how to use BlockBench, I'd suggest looking into the basics of that before continuing.


Model Creation

First things first is making our model. We'll be using Blockbench, and the GeckoLib animation plugin for it.
We make a new Geckolib Animated Model, and change it's Geckolib Properites to Armor.



This will give us a template to work with, as well as the necessary parent bones for us to work on.
Some important things to note about creating your models:

  • While you can delete the "dontTouch" cubes if you really don't want the reference, the existing bones must remain otherwise the model will not function. i.e. bipedHead, armorHead, bipedBody, armorBody etc.
  • A good practice, especially if you wish to animate parts of your model, is to make sure all your cubes are at least within their own bone child under the relevant armor bone. If you only animate the armor bone, the animation will not be applied in game.


Exporting

When we export, we'll need to export two-to-three things (depending on if you made animations).

  1. The Model
  2. The Texture
  3. The Animation (if applicable)

To export our model, we simply export it through Blockbench under File->Export->Export GeckoLib Model

Name your model file whatever you like, just make sure it's all lower case. I recommend ending the file in ".geo.json", and keeping the name the same across each file, as this will make importing simpler, but the import process also has options if you want to change up your naming scheme between files.

Saving the texture is as simple as clicking the save button next to your texture.

Finally, if you made any animations, make sure to export these under Animation->Export Animations... (and choose which animations you wish to export), which follow the same rules/tips as models. These files I recommend ending with ".animation.json".

⚠️ **GitHub.com Fallback** ⚠️