Interface MinecraftDependency

All Superinterfaces:
MinecraftAccessTransformersContainer, MinecraftMappingsContainer
All Known Subinterfaces:
ClosureOwner.MinecraftDependency, MinecraftExtensionForProject

public interface MinecraftDependency extends MinecraftMappingsContainer, MinecraftAccessTransformersContainer
The Minecraft dependency contains information essential for how the minecraft extension processes Minecraft dependencies.
  • Method Details

    • getRuns

      org.gradle.api.NamedDomainObjectContainer<? extends SlimeLauncherOptions> getRuns()
      The collection of Slime Launcher options with which to create the launcher tasks.
      Returns:
      The collection of run task options
    • runs

      default void runs(@DelegatesTo(org.gradle.api.NamedDomainObjectContainer.class) groovy.lang.Closure<?> closure)
      Configures the Slime Launcher options for this project, which will be used to create the launcher tasks.
      Parameters:
      closure - The configuring closure
    • runs

      default void runs(org.gradle.api.Action<? super org.gradle.api.NamedDomainObjectContainer<? extends SlimeLauncherOptions>> action)
      Configures the Slime Launcher options for this project, which will be used to create the launcher tasks.
      Parameters:
      action - The configuring action
    • getFacade

      org.gradle.api.file.ConfigurableFileCollection getFacade()

      Gets the Facade configuration files to use.

      Files must be in the format supported by the Facade project.

      This is only supported when using Mavenizer >= 0.4.56

      Returns:
      The property for the configuration files to use
    • getMavenizerArguments

      org.gradle.api.provider.ListProperty<String> getMavenizerArguments()
      Gets any extra arguments to be passed to the Mavenizer invocation. These arguments will be added after all other args. This is useful if using a version of Mavenizer that hasn't had a feature exposed to ForgeGradle yet
      Returns:
      A list of extra arguments to pass to Mavenizer