Interface DataGenerationSettings


public interface DataGenerationSettings
Represents the settings for data generation.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gradle.api.provider.Property<Boolean>
    Contains a boolean property indicating whether the generated resources will be automatically added to the main sourceset.
    org.gradle.api.provider.Property<Boolean>
    Contains a boolean property indicating whether data generation will be compiled and ran with the client.
    org.gradle.api.provider.Property<Boolean>
    Contains a boolean indicating whether a run configuration should be created for the data generation process.
    org.gradle.api.provider.Property<Boolean>
    Contains a boolean property indicating whether a new source set should be created for the data generation process.
    org.gradle.api.provider.Property<String>
    Contains a string property representing the mod ID associated with the data generation process.
    org.gradle.api.file.RegularFileProperty
    Contains the output directory where generated data files will be stored.
    org.gradle.api.provider.Property<Boolean>
    Contains a boolean property indicating whether strict validation is enabled.
    default void
    modId(File fabricModJsonFile)
    Sets getModId() property based on the id field defined in the provided file.
  • Method Details

    • getOutputDirectory

      org.gradle.api.file.RegularFileProperty getOutputDirectory()
      Contains the output directory where generated data files will be stored.
    • getCreateRunConfiguration

      org.gradle.api.provider.Property<Boolean> getCreateRunConfiguration()
      Contains a boolean indicating whether a run configuration should be created for the data generation process.
    • getCreateSourceSet

      org.gradle.api.provider.Property<Boolean> getCreateSourceSet()
      Contains a boolean property indicating whether a new source set should be created for the data generation process.
    • getModId

      org.gradle.api.provider.Property<String> getModId()
      Contains a string property representing the mod ID associated with the data generation process.

      This must be set when getCreateRunConfiguration() is set.

    • getStrictValidation

      org.gradle.api.provider.Property<Boolean> getStrictValidation()
      Contains a boolean property indicating whether strict validation is enabled.
    • getAddToResources

      org.gradle.api.provider.Property<Boolean> getAddToResources()
      Contains a boolean property indicating whether the generated resources will be automatically added to the main sourceset.
    • getClient

      org.gradle.api.provider.Property<Boolean> getClient()
      Contains a boolean property indicating whether data generation will be compiled and ran with the client.
    • modId

      default void modId(File fabricModJsonFile)
      Sets getModId() property based on the id field defined in the provided file.