Class EntityModelLayerRegistry

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

@Deprecated @Experimental @Environment(CLIENT) public final class EntityModelLayerRegistry extends Object
Deprecated.
Experimental feature, may be removed or changed without further notice: Snapshot feature.
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)
      Deprecated.
      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