Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- args(Iterable<?>) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Adds to the arguments to pass to the main class.
- args(Object) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Adds to the arguments to pass to the main class.
- args(Object...) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Adds to the arguments to pass to the main class.
- args(Provider<? extends Iterable<?>>) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Adds to the arguments to pass to the main class.
C
- channel() - Method in record class net.minecraftforge.gradle.MinecraftMappings
-
Returns the value of the
channelrecord component. - classpath(Iterable<?>) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Adds to the classpath to use.
- classpath(Object...) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Adds to the classpath to use.
- classpath(FileCollection) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Adds to the classpath to use.
- ClosureOwner<D> - Interface in net.minecraftforge.gradle
-
A closure owner is used to replace a closure's owner to allow for multiple delegates.
- ClosureOwner.MinecraftDependency - Interface in net.minecraftforge.gradle
-
A closure owner that delegates to
MinecraftDependencyandExternalModuleDependency. - ClosureOwner.MinecraftDependencyWithAccessTransformers - Interface in net.minecraftforge.gradle
-
A closure owner that delegates to
MinecraftDependencyWithAccessTransformersandExternalModuleDependency.
D
- DEFAULT_PATH - Static variable in interface net.minecraftforge.gradle.MinecraftDependencyWithAccessTransformers
-
The default path, from the source set's resources, for the AccessTransformers config to be located in.
- dep(Object) - Method in interface net.minecraftforge.gradle.MinecraftExtensionForProject
-
Creates (or marks if existing) the given dependency as a Minecraft dependency.
- dep(Object, Closure<?>) - Method in interface net.minecraftforge.gradle.MinecraftExtensionForProject
-
Creates (or marks if existing) the given dependency as a Minecraft dependency and configures it with the given closure.
- dep(Object, Action<? super T>) - Method in interface net.minecraftforge.gradle.MinecraftExtensionForProject
-
Creates (or marks if existing) the given dependency as a Minecraft dependency and applies the given action to it.
- dep(Provider<?>) - Method in interface net.minecraftforge.gradle.MinecraftExtensionForProject
-
Creates (or marks if existing) the given dependency as a Minecraft dependency.
- dep(Provider<?>, Closure<?>) - Method in interface net.minecraftforge.gradle.MinecraftExtensionForProject
-
Creates (or marks if existing) the given dependency as a Minecraft dependency and configures it with the given closure.
- dep(Provider<?>, Action<? super T>) - Method in interface net.minecraftforge.gradle.MinecraftExtensionForProject
-
Creates (or marks if existing) the given dependency as a Minecraft dependency and applies the given action to it.
- dep(ProviderConvertible<?>) - Method in interface net.minecraftforge.gradle.MinecraftExtensionForProject
-
Creates (or marks if existing) the given dependency as a Minecraft dependency.
- dep(ProviderConvertible<?>, Closure<?>) - Method in interface net.minecraftforge.gradle.MinecraftExtensionForProject
-
Creates (or marks if existing) the given dependency as a Minecraft dependency and configures it with the given closure.
- dep(ProviderConvertible<?>, Action<? super T>) - Method in interface net.minecraftforge.gradle.MinecraftExtensionForProject
-
Creates (or marks if existing) the given dependency as a Minecraft dependency and applies the given action to it.
E
- environment(String, Object) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Adds a single environment variable to use.
- environment(Map<String, ?>) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Adds to the environment variables to use.
- environment(Provider<? extends Map<String, ?>>) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Adds to the environment variables to use.
- equals(Object) - Method in record class net.minecraftforge.gradle.MinecraftMappings
-
Indicates whether some other object is "equal to" this one.
F
- ForgeGradleExtension - Interface in net.minecraftforge.gradle
-
The ForgeGradle extension contains a handful of helpers that are not directly related to development involving Minecraft.
G
- getAccessTransformer() - Method in interface net.minecraftforge.gradle.MinecraftDependencyWithAccessTransformers
-
Gets the AccessTransformer configuration to use.
- getAccessTransformers() - Method in interface net.minecraftforge.gradle.MinecraftExtensionForProjectWithAccessTransformers
-
The path, relative to the related Minecraft dependency's
SourceSet.getResources(), to the AccessTransformers config file to use. - getArgs() - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
The arguments to pass to the main class.
- getAttributes() - Method in interface net.minecraftforge.gradle.MinecraftExtension
-
The attributes object for easy reference.
- getClasspath() - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
The classpath to use.
- getEnvironment() - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
The environment variables to use.
- getForgeMaven() - Method in interface net.minecraftforge.gradle.ForgeGradleExtension
-
A closure for the Forge maven to be passed into
RepositoryHandler.maven(Closure). - getJvmArgs() - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
The JVM arguments to use.
- getMainClass() - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
The main class for Slime Launcher to use.
- getMappings() - Method in interface net.minecraftforge.gradle.MinecraftMappingsContainer
-
Gets the mappings for this container.
- getMaven() - Method in interface net.minecraftforge.gradle.MinecraftExtension
-
A closure for the generated Minecraft maven to be passed into
RepositoryHandler.maven(Closure). - getMaxHeapSize() - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
The maximum memory heap size to use.
- getMinecraftLibsMaven() - Method in interface net.minecraftforge.gradle.ForgeGradleExtension
-
A closure for the Minecraft libraries maven to be passed into
RepositoryHandler.maven(Closure). - getMinHeapSize() - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
The minimum memory heap size to use.
- getOwnerDelegate() - Method in interface net.minecraftforge.gradle.ClosureOwner
-
Gets the owner delegate for this closure owner.
- getRuns() - Method in interface net.minecraftforge.gradle.MinecraftExtensionForProject
-
The collection of Slime Launcher options with which to create the launcher tasks.
- getSystemProperties() - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
The system properties to use.
- getWorkingDir() - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
The working directory to use.
H
- hashCode() - Method in record class net.minecraftforge.gradle.MinecraftMappings
-
Returns a hash code value for this object.
J
- jvmArgs(Iterable<?>) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Adds to the JVM arguments to use.
- jvmArgs(Object) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Adds to the JVM arguments to use.
- jvmArgs(Object...) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Adds to the JVM arguments to use.
- jvmArgs(Provider<? extends Iterable<?>>) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Adds to the JVM arguments to use.
M
- mappings(String, String) - Method in interface net.minecraftforge.gradle.MinecraftMappingsContainer
-
Sets the mappings to use for the Minecraft dependency.
- mappings(Map<?, ?>) - Method in interface net.minecraftforge.gradle.MinecraftMappingsContainer
-
Sets the mappings to use for the Minecraft dependency.
- mappingsChannel - Static variable in interface net.minecraftforge.gradle.MinecraftExtension.Attributes
-
The requested mappings channel of the project.
- mappingsVersion - Static variable in interface net.minecraftforge.gradle.MinecraftExtension.Attributes
-
The requested mappings version of the project.
- maven(RepositoryHandler) - Method in interface net.minecraftforge.gradle.MinecraftExtension
-
Adds the generated Minecraft maven to the given repository handler.
- MinecraftDependency - Interface in net.minecraftforge.gradle
-
The Minecraft dependency contains information essential for how the minecraft extension processes Minecraft dependencies.
- MinecraftDependencyWithAccessTransformers - Interface in net.minecraftforge.gradle
-
An extension of
MinecraftDependencythat contains additional convenience methods for working with AccessTransformers. - MinecraftExtension - Interface in net.minecraftforge.gradle
-
The main extension for ForgeGradle, where the Minecraft dependency resolution takes place.
- MinecraftExtension.Attributes - Interface in net.minecraftforge.gradle
-
This interface contains the attributes used by the Minecraft extension for resolving the Minecraft and deobfuscated dependencies.
- MinecraftExtensionForProject<T> - Interface in net.minecraftforge.gradle
-
Project-specific additions for the Minecraft extension.
- MinecraftExtensionForProjectWithAccessTransformers - Interface in net.minecraftforge.gradle
-
An additional extension of
MinecraftExtensionForProjectthat allows for working with AccessTransformers as long as thenet.minecraftforge.accesstransformersplugin has been applied before ForgeGradle. - MinecraftMappings - Record Class in net.minecraftforge.gradle
-
The mappings used for the Minecraft dependency.
- MinecraftMappings(String, String) - Constructor for record class net.minecraftforge.gradle.MinecraftMappings
-
Creates a new Mappings object.
- MinecraftMappingsContainer - Interface in net.minecraftforge.gradle
-
A container for Minecraft mappings, primarily used to determine the mappings to be used by the Minecraft dependency.
N
- NAME - Static variable in interface net.minecraftforge.gradle.ForgeGradleExtension
-
The name for this extension in Gradle.
- NAME - Static variable in interface net.minecraftforge.gradle.MinecraftExtension
-
The name for this extension in Gradle.
- net.minecraftforge.gradle - package net.minecraftforge.gradle
-
ForgeGradle
O
- os - Static variable in interface net.minecraftforge.gradle.MinecraftExtension.Attributes
-
The operating system family of the project's host.
R
- runs(Closure<?>) - Method in interface net.minecraftforge.gradle.MinecraftExtensionForProject
-
Configures the Slime Launcher options for this project, which will be used to create the launcher tasks.
- runs(Action<? super NamedDomainObjectContainer<? extends SlimeLauncherOptions>>) - Method in interface net.minecraftforge.gradle.MinecraftExtensionForProject
-
Configures the Slime Launcher options for this project, which will be used to create the launcher tasks.
S
- setAccessTransformer(boolean) - Method in interface net.minecraftforge.gradle.MinecraftDependencyWithAccessTransformers
-
Sets if this dependency should use AccessTransformers.
- setAccessTransformer(String) - Method in interface net.minecraftforge.gradle.MinecraftDependencyWithAccessTransformers
-
Sets the path, relative to this dependency's
SourceSet.getResources(), to the AccessTransformers config file to use. - setAccessTransformers(boolean) - Method in interface net.minecraftforge.gradle.MinecraftExtensionForProjectWithAccessTransformers
-
Sets if all Minecraft dependencies in this project should use AccessTransformers.
- setArgs(String...) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Sets the arguments to pass to the main class.
- setClasspath(Iterable<?>) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Sets the classpath to use.
- setClasspath(Object...) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Sets the classpath to use.
- setClasspath(FileCollection) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Sets the classpath to use.
- setJvmArgs(Object...) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Sets the JVM arguments to use.
- SlimeLauncherOptions - Interface in net.minecraftforge.gradle
-
The configuration options for Slime Launcher tasks.
- systemProperties(Map<String, ?>) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Adds to the system properties to use.
- systemProperties(Provider<? extends Map<String, ?>>) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Adds to the system properties to use.
- systemProperty(String, Object) - Method in interface net.minecraftforge.gradle.SlimeLauncherOptions
-
Adds a single system property to use.
T
- toString() - Method in record class net.minecraftforge.gradle.MinecraftMappings
-
Returns a string representation of this record class.
V
- version() - Method in record class net.minecraftforge.gradle.MinecraftMappings
-
Returns the value of the
versionrecord component.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form