Class IntermediateMappingsProvider

java.lang.Object
net.fabricmc.loom.api.mappings.intermediate.IntermediateMappingsProvider
All Implemented Interfaces:
org.gradle.api.Named
Direct Known Subclasses:
GeneratedIntermediateMappingsProvider, IntermediateMappingsProviderInternal

@Experimental public abstract class IntermediateMappingsProvider extends Object implements org.gradle.api.Named
A simple API to allow 3rd party plugins. Implement by creating an abstract class overriding provide and getName
  • Constructor Details

    • IntermediateMappingsProvider

      public IntermediateMappingsProvider()
  • Method Details

    • getMinecraftVersion

      public abstract org.gradle.api.provider.Property<String> getMinecraftVersion()
    • getDownloader

      public abstract org.gradle.api.provider.Property<Function<String,DownloadBuilder>> getDownloader()
    • getUseSplitOfficialNamespaces

      @Experimental public abstract org.gradle.api.provider.Property<Boolean> getUseSplitOfficialNamespaces()
      Set to true if the minecraft version is at least Beta 1.0 and pre 1.3. When true the expected src namespace is intermediary, and the expected dst namespaces are clientOfficial and/or serverOfficial When false the expected src namespace is named and the expected dst namespace is intermediary
    • provide

      public abstract void provide(Path tinyMappings) throws IOException
      Generate or download a tinyv2 mapping file with intermediary and named namespaces.
      Throws:
      IOException