Class EntityModelLayerRegistry
java.lang.Object
net.fabricmc.fabric.api.client.rendering.v1.EntityModelLayerRegistry
A helpers for registering entity model layers and providers for the layer's textured model data.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
registerModelLayer
(net.minecraft.client.render.entity.model.EntityModelLayer modelLayer, EntityModelLayerRegistry.TexturedModelDataProvider provider) Registers an entity model layer and registers a provider for a TexturedModelData.
-
Method Details
-
registerModelLayer
public static void registerModelLayer(net.minecraft.client.render.entity.model.EntityModelLayer modelLayer, EntityModelLayerRegistry.TexturedModelDataProvider provider) Registers an entity model layer and registers a provider for a TexturedModelData.- Parameters:
modelLayer
- the entity model layerprovider
- the provider for the textured model data
-