Class LayeredMappingSpecBuilderImpl
java.lang.Object
net.fabricmc.loom.configuration.providers.mappings.LayeredMappingSpecBuilderImpl
- All Implemented Interfaces:
LayeredMappingSpecBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLayer(MappingsSpec<?> mappingSpec) Add a MappingsSpec layer.build()static LayeredMappingSpecmappings(Object file, org.gradle.api.Action<? super FileMappingsSpecBuilder> action) Configure and add a layer that uses a mappings file or directory.officialMojangMappings(org.gradle.api.Action<MojangMappingsSpecBuilder> action) Configure and add a layer that uses the official mappings provided by Mojang.parchment(Object object, org.gradle.api.Action<ParchmentMappingsSpecBuilder> action) signatureFix(Object object) Add a signatureFix layer.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.fabricmc.loom.api.mappings.layered.spec.LayeredMappingSpecBuilder
mappings, mappings, officialMojangMappings, officialMojangMappings, parchment, parchment
-
Constructor Details
-
LayeredMappingSpecBuilderImpl
-
-
Method Details
-
addLayer
Description copied from interface:LayeredMappingSpecBuilderAdd a MappingsSpec layer.- Specified by:
addLayerin interfaceLayeredMappingSpecBuilder
-
officialMojangMappings
public LayeredMappingSpecBuilder officialMojangMappings(org.gradle.api.Action<MojangMappingsSpecBuilder> action) Description copied from interface:LayeredMappingSpecBuilderConfigure and add a layer that uses the official mappings provided by Mojang.- Specified by:
officialMojangMappingsin interfaceLayeredMappingSpecBuilder
-
parchment
public LayeredMappingSpecBuilder parchment(Object object, org.gradle.api.Action<ParchmentMappingsSpecBuilder> action) - Specified by:
parchmentin interfaceLayeredMappingSpecBuilder
-
crane
- Specified by:
cranein interfaceLayeredMappingSpecBuilder
-
signatureFix
Description copied from interface:LayeredMappingSpecBuilderAdd a signatureFix layer. Reads the @extras/record_signatures.json" file in a jar file such as yarn.- Specified by:
signatureFixin interfaceLayeredMappingSpecBuilder
-
mappings
public LayeredMappingSpecBuilder mappings(Object file, org.gradle.api.Action<? super FileMappingsSpecBuilder> action) Description copied from interface:LayeredMappingSpecBuilderConfigure and add a layer that uses a mappings file or directory.- Specified by:
mappingsin interfaceLayeredMappingSpecBuilder- Parameters:
file- the file notation for aFileSpecaction- the configuration action- Returns:
- this builder
- See Also:
-
build
-
buildOfficialMojangMappings
-