Class VhAddonDevExtension

java.lang.Object
com.radimous.vhaddondev.VhAddonDevExtension

public abstract class VhAddonDevExtension extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract org.gradle.api.provider.ListProperty<String>
    list of namespaces that will be kept when removing modded items from configs
    ["minecraft", "the_vault"] by default
    abstract org.gradle.api.provider.ListProperty<String>
    list of directories to move the config files to.
    ["run"] by default
    abstract org.gradle.api.provider.Property<String>
    use custom metadata provider url instead of the default one (https://radimous.github.io/vh-version-metadata/)
    custom provider must have /info.json and /versions/[version].json endpoints
    abstract org.gradle.api.provider.ListProperty<String>
    list of directories to move config files with modded items to.
    abstract org.gradle.api.provider.Property<String>
    overrides directory in the pack zip, change if you're not using the cf zip format
    "overrides" by default
    abstract org.gradle.api.provider.Property<String>
    the name of the property in gradle.properties that should be updated with the VH version for use in the run configuration
    "vault_hunters_version" by default
    abstract org.gradle.api.provider.Property<String>
    version of VH
    accepts:
    "latest-remastered" or "latest" - for the latest remastered vh version
    "latest-regular" - for the latest non-remastered version
    specific version like 3.21.4.1 - all versions can be fetched using the printAvailableVersions task
    "latest-remastered" by default
    abstract org.gradle.api.provider.Property<String>
    use custom zip url instead of using one based on the VH version
    null by default, which means it will be fetched based on the VH version

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VhAddonDevExtension

      public VhAddonDevExtension()
  • Method Details

    • getVhVersion

      public abstract org.gradle.api.provider.Property<String> getVhVersion()
      version of VH
      accepts:
      "latest-remastered" or "latest" - for the latest remastered vh version
      "latest-regular" - for the latest non-remastered version
      specific version like 3.21.4.1 - all versions can be fetched using the printAvailableVersions task
      "latest-remastered" by default
    • getZipUrl

      public abstract org.gradle.api.provider.Property<String> getZipUrl()
      use custom zip url instead of using one based on the VH version
      null by default, which means it will be fetched based on the VH version
    • getVhJarVersionPropName

      public abstract org.gradle.api.provider.Property<String> getVhJarVersionPropName()
      the name of the property in gradle.properties that should be updated with the VH version for use in the run configuration
      "vault_hunters_version" by default
    • getConfigDestinations

      public abstract org.gradle.api.provider.ListProperty<String> getConfigDestinations()
      list of directories to move the config files to.
      ["run"] by default
    • getModdedConfigDestinations

      public abstract org.gradle.api.provider.ListProperty<String> getModdedConfigDestinations()
      list of directories to move config files with modded items to. useful for datagen
      [] by default
    • getMetadataProvider

      public abstract org.gradle.api.provider.Property<String> getMetadataProvider()
      use custom metadata provider url instead of the default one (https://radimous.github.io/vh-version-metadata/)
      custom provider must have /info.json and /versions/[version].json endpoints
    • getOverridesDir

      public abstract org.gradle.api.provider.Property<String> getOverridesDir()
      overrides directory in the pack zip, change if you're not using the cf zip format
      "overrides" by default
    • getAllowedItemNamespaces

      public abstract org.gradle.api.provider.ListProperty<String> getAllowedItemNamespaces()
      list of namespaces that will be kept when removing modded items from configs
      ["minecraft", "the_vault"] by default