MappingsProvider

class MappingsProvider(mappings: Mappings, sourceNamespace: String, targetNamespace: String, passParameters: Boolean = true) : IMappingProvider(source)

An IMappingProvider that can send Mappings to an IMappingProvider.MappingAcceptor. If passParameters is true, MappedParameters and MappedLocals will be passed to the IMappingProvider.MappingAcceptor as well.

Parameters

sourceNamespace

the namespace of the original class files passed to tiny remapper

targetNamespace

the desired namespace the class files passed to tiny remapper should be remapped to

Constructors

Link copied to clipboard
constructor(mappings: Mappings, sourceNamespace: String, targetNamespace: String, passParameters: Boolean = true)

Functions

Link copied to clipboard
open override fun load(acceptor: IMappingProvider.MappingAcceptor)