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 the official mappings provided by Mojang with the default options.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 options. -
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) -
signatureFix
Add a signatureFix layer. Reads the @extras/record_signatures.json" file in a jar file such as yarn.
-