Hello. I've made a custom mob with Geckolib, which works fine. However, I want this mob to grow dynamically as it ages, rather than just popping into its adult appearance like vanilla mobs. I've managed to get this working somewhat, but there are a few problems:
The mob still grows when the singleplayer client is paused.
The mob only grows if it's on screen; if it's, say, behind the player, then it will never grow.
Now I know these issues are caused by putting the growth code in the render method in my mob's renderer, but I have no idea where else I should put it. After doing some research, I found I should be using the scale method, but as I'm using a GeckoLib renderer (GeoEntityRenderer<>), this method does not exist for me. If anyone has any ideas in how I could either work around this issue, or some other way of solving this, that would be great.
Cheers!