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<String>The string that parameters are prefixed with when they conflict with other names inside the method.abstract org.gradle.api.provider.Property<Boolean>Enables or disables the system.abstract org.gradle.api.provider.Property<String>Version of default parchment mappings 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
Version of default parchment mappings to use. This property is ignored ifgetParchmentArtifact()is set explicitly. -
getConflictResolutionPrefix
@Input @Optional public abstract org.gradle.api.provider.Property<String> getConflictResolutionPrefix()The string that parameters are prefixed with when they conflict with other names inside the method. Defaults top_. You can set this property to an empty string to disable conflict resolution, for example, when you use the checked version of parchment, which already includes prefixes. -
getEnabled
Enables or disables the system. It is enabled by default if agetParchmentArtifact()is specified.
-