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.
-
Field Summary
Fields inherited from interface MinecraftAccessTransformersContainer
DEFAULT_PATH -
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.NamedDomainObjectContainer<? extends SlimeLauncherOptions> getRuns()The collection of Slime Launcher options with which to create the launcher tasks.default voidruns(groovy.lang.Closure<?> closure) Configures the Slime Launcher options for this project, which will be used to create the launcher tasks.default voidruns(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.Methods inherited from interface MinecraftAccessTransformersContainer
getAccessTransformer, getAccessTransformers, setAccessTransformer, setAccessTransformer, useDefaultAccessTransformerMethods inherited from interface MinecraftMappingsContainer
getMappings, mappings, mappings
-
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
-