Class TinyRemapperHelper

java.lang.Object
net.fabricmc.loom.util.TinyRemapperHelper

public final class TinyRemapperHelper extends Object
Contains shortcuts to create tiny remappers using the mappings accessibly to the project.
  • Field Details

    • JSR_TO_JETBRAINS

      public static final Map<String,String> JSR_TO_JETBRAINS
  • Method Details

    • getTinyRemapper

      public static net.fabricmc.tinyremapper.TinyRemapper getTinyRemapper(org.gradle.api.Project project, ServiceFactory serviceFactory, String fromM, String toM) throws IOException
      Throws:
      IOException
    • getTinyRemapper

      public static net.fabricmc.tinyremapper.TinyRemapper getTinyRemapper(org.gradle.api.Project project, ServiceFactory serviceFactory, String fromM, String toM, boolean fixRecords, boolean validateTargetNamespace, Consumer<net.fabricmc.tinyremapper.TinyRemapper.Builder> builderConsumer, Set<String> fromClassNames) throws IOException
      Throws:
      IOException
    • create

      public static net.fabricmc.tinyremapper.IMappingProvider create(Path mappings, String from, String to, boolean remapLocalVariables) throws IOException
      Throws:
      IOException
    • create

      public static net.fabricmc.tinyremapper.IMappingProvider create(net.fabricmc.mappingio.tree.MappingTree mappings, String from, String to, boolean remapLocalVariables, boolean validateTargetNamespace)