Class AtlasSourceTypeRegistry

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

public final class AtlasSourceTypeRegistry extends Object
A registry for custom AtlasSourceTypes. Registered types will be automatically available for use in atlas definition JSON files.
  • Method Details

    • register

      public static void register(Identifier id, AtlasSourceType type)
      Registers a new AtlasSourceType.
      Parameters:
      id - the identifier of the atlas source type
      type - the atlas source type to register