Package net.fabricmc.loom.util
Class TinyRemapperHelper
java.lang.Object
net.fabricmc.loom.util.TinyRemapperHelper
Contains shortcuts to create tiny remappers using the mappings accessibly to the project.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic net.fabricmc.tinyremapper.IMappingProviderstatic net.fabricmc.tinyremapper.IMappingProvidercreate(net.fabricmc.mappingio.tree.MappingTree mappings, String from, String to, boolean remapLocalVariables, boolean validateTargetNamespace) static net.fabricmc.tinyremapper.TinyRemappergetTinyRemapper(org.gradle.api.Project project, ServiceFactory serviceFactory, String fromM, String toM) static net.fabricmc.tinyremapper.TinyRemappergetTinyRemapper(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)
-
Field Details
-
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
-