Package com.radimous.vhaddondev
Class VhAddonDevExtension
java.lang.Object
com.radimous.vhaddondev.VhAddonDevExtension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.gradle.api.provider.ListProperty<String>list of namespaces that will be kept when removing modded items from configs
["minecraft", "the_vault"] by defaultabstract org.gradle.api.provider.ListProperty<String>list of directories to move the config files to.
["run"] by defaultabstract 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 endpointsabstract 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 defaultabstract 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 defaultabstract 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 defaultabstract org.gradle.api.provider.Property<String>use custom zip url instead of using one based on the VH version
nullby default, which means it will be fetched based on the VH version
-
Constructor Details
-
VhAddonDevExtension
public VhAddonDevExtension()
-
-
Method Details
-
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
use custom zip url instead of using one based on the VH version
nullby default, which means it will be fetched based on the VH version -
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
list of directories to move the config files to.
["run"] by default -
getModdedConfigDestinations
list of directories to move config files with modded items to. useful for datagen
[] by default -
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
overrides directory in the pack zip, change if you're not using the cf zip format
"overrides" by default -
getAllowedItemNamespaces
list of namespaces that will be kept when removing modded items from configs
["minecraft", "the_vault"] by default
-