Class EntityModelLayerRegistry

java.lang.Object
net.fabricmc.fabric.api.client.rendering.v1.EntityModelLayerRegistry

@Environment(CLIENT) public final class EntityModelLayerRegistry extends Object
A helpers for registering entity model layers and providers for the layer's textured model data.
  • 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 layer
      provider - the provider for the textured model data