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