Package net.neoforged.moddevgradle.dsl
Class Parchment
java.lang.Object
net.neoforged.moddevgradle.dsl.Parchment
Allows configuration of Parchment mappings for userdev.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.gradle.api.provider.Property<Boolean>Enables or disables the system.abstract org.gradle.api.provider.Property<String>Mapping version of default parchment to use.abstract org.gradle.api.provider.Property<String>Minecraft version of parchment to use.abstract org.gradle.api.provider.Property<String>Artifact coordinates for parchment mappings.
-
Constructor Details
-
Parchment
@Inject public Parchment(org.gradle.api.Project project)
-
-
Method Details
-
getParchmentArtifact
Artifact coordinates for parchment mappings. -
getMinecraftVersion
Minecraft version of parchment to use. This property is ignored ifgetParchmentArtifact()is set explicitly. -
getMappingsVersion
Mapping version of default parchment to use. This property is ignored ifgetParchmentArtifact()is set explicitly. -
getEnabled
Enables or disables the system. It is enabled by default if agetParchmentArtifact()is specified.
-