-
-
Notifications
You must be signed in to change notification settings - Fork 131
Render Layers (Geckolib3)
Tslat edited this page Jul 3, 2023
·
2 revisions
Like all vanilla renderers, GeckoLib allows for additional layers of rendering over its normal rendering operations.
This is done through GeoLayerRenderer instances.
When instantiating your renderer, you can add a new layer to be called at render time to render additional content.
This is done by calling addRenderLayer
, and passing a new instance of your layer renderer to it.
public class ExampleRenderer extends GeoEntityRenderer<ExampleEntity> {
public ExampleRenderer(EntityRendererProvider.Context renderManager) {
super(renderManager, new ExampleEntityModel());
addRenderLayer(new ExampleGeoRenderLayer(this));
}
}
Geckolib 3
Geckolib 4
- Installation
- Getting Started
- Upgrading from GeckoLib 3.1.x to 4.0
- Updating to GeckoLib 4.5
- Basic
- Advanced
- Miscellaneous
Package repository hosting is graciously provided by Cloudsmith.
Cloudsmith is the only fully hosted, cloud-native, universal package management solution that enables your organization to create, store and share packages in any format, to any place, with total confidence.