Interface LayeredMappingSpecBuilder
- All Known Implementing Classes:
LayeredMappingSpecBuilderImpl
@Experimental
public interface LayeredMappingSpecBuilder
Used to configure a layered mapping spec.
-
Method Summary
Modifier and TypeMethodDescriptionaddLayer(MappingsSpec<?> mappingSpec) Add a MappingsSpec layer.default LayeredMappingSpecBuilderAdd a layer that uses a mappings file or directory.default LayeredMappingSpecBuilderConfigure and add a layer that uses a mappings file or directory.mappings(Object file, org.gradle.api.Action<? super FileMappingsSpecBuilder> action) Configure and add a layer that uses a mappings file or directory.default LayeredMappingSpecBuilderAdd a layer that uses the official mappings provided by Mojang with the default decompilerOptions.default LayeredMappingSpecBuilderofficialMojangMappings(groovy.lang.Closure closure) Configure and add a layer that uses the official mappings provided by Mojang.officialMojangMappings(org.gradle.api.Action<MojangMappingsSpecBuilder> action) Configure and add a layer that uses the official mappings provided by Mojang.default LayeredMappingSpecBuilderdefault LayeredMappingSpecBuilderparchment(Object object, org.gradle.api.Action<ParchmentMappingsSpecBuilder> action) signatureFix(Object object) Add a signatureFix layer.
-
Method Details
-
addLayer
Add a MappingsSpec layer. -
officialMojangMappings
Add a layer that uses the official mappings provided by Mojang with the default decompilerOptions. -
officialMojangMappings
default LayeredMappingSpecBuilder officialMojangMappings(@DelegatesTo(value=MojangMappingsSpecBuilder.class,strategy=1) groovy.lang.Closure closure) Configure and add a layer that uses the official mappings provided by Mojang. -
officialMojangMappings
LayeredMappingSpecBuilder officialMojangMappings(org.gradle.api.Action<MojangMappingsSpecBuilder> action) Configure and add a layer that uses the official mappings provided by Mojang. -
parchment
-
parchment
default LayeredMappingSpecBuilder parchment(Object object, @DelegatesTo(value=ParchmentMappingsSpecBuilder.class,strategy=1) groovy.lang.Closure closure) -
parchment
LayeredMappingSpecBuilder parchment(Object object, org.gradle.api.Action<ParchmentMappingsSpecBuilder> action) -
crane
-
signatureFix
Add a signatureFix layer. Reads the @extras/record_signatures.json" file in a jar file such as yarn. -
mappings
Add a layer that uses a mappings file or directory.- Parameters:
file- the file notation for aFileSpec- Returns:
- this builder
- See Also:
-
mappings
@Experimental default LayeredMappingSpecBuilder mappings(Object file, @DelegatesTo(value=FileMappingsSpecBuilder.class,strategy=1) groovy.lang.Closure<?> closure) Configure and add a layer that uses a mappings file or directory.- Parameters:
file- the file notation for aFileSpecclosure- the configuration action- Returns:
- this builder
- See Also:
-
mappings
@Experimental LayeredMappingSpecBuilder mappings(Object file, org.gradle.api.Action<? super FileMappingsSpecBuilder> action) Configure and add a layer that uses a mappings file or directory.- Parameters:
file- the file notation for aFileSpecaction- the configuration action- Returns:
- this builder
- See Also:
-