Class Parchment

java.lang.Object
net.neoforged.moddevgradle.dsl.Parchment

@NonExtendable public abstract class Parchment extends Object
Allows configuration of Parchment mappings for userdev.
  • Constructor Details

    • Parchment

      @Inject public Parchment(org.gradle.api.Project project)
  • Method Details

    • getParchmentArtifact

      @Input @Optional public abstract org.gradle.api.provider.Property<String> getParchmentArtifact()
      Artifact coordinates for parchment mappings.
    • getMinecraftVersion

      @Input @Optional public abstract org.gradle.api.provider.Property<String> getMinecraftVersion()
      Minecraft version of parchment to use. This property is ignored if getParchmentArtifact() is set explicitly.
    • getMappingsVersion

      @Input @Optional public abstract org.gradle.api.provider.Property<String> getMappingsVersion()
      Mapping version of default parchment to use. This property is ignored if getParchmentArtifact() is set explicitly.
    • getEnabled

      @Input public abstract org.gradle.api.provider.Property<Boolean> getEnabled()
      Enables or disables the system. It is enabled by default if a getParchmentArtifact() is specified.