Class MinecraftExtension
java.lang.Object
com.gtnewhorizons.retrofuturagradle.MinecraftExtension
- All Implemented Interfaces:
IMinecraftyExtension
Parameter block for the `minecraft {...}` Gradle script extension
-
Nested Class Summary
Nested classes/interfaces inherited from interface IMinecraftyExtension
IMinecraftyExtension.IMcVersionFunction<R> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ConfigurableFileCollectionIfgetUseDependencyAccessTransformers()is true, this is the list of files to scan for AT entries.abstract ListProperty<String> Extra JVM arguments to use when running Minecraftabstract ListProperty<String> Extra LaunchWrapper tweak classes to use when running Minecraftabstract SetProperty<String> Dependency groups to exclude from automatic remapping from dev to reobf jars.abstract MapProperty<String, Object> A key-value map of tags to inject into the project either by way of token substitution (hacky, deprecated) or generating a small Java file with the tag values.Deprecated.Skips slow-running tasks (decompilation, jar merging, etc.) if the artifacts already exist, useful for development of the plugin.abstract ListProperty<String> Glob patterns on which to run tag replacement, deprecated as the implementation is very hacky, implemented for compat with FG buildscriptsSet to true to scan dependencies for access transformers (based on FMLAT entries in MANIFEST.MFs).Whether FML is included in the decompiled environment, default is true.Whether Forge is included in the decompiled environment, default is true.Deprecated.UseIMinecraftyExtension.getMcVersion()insteadvoidsetVersion(String version) Deprecated.UseIMinecraftyExtension.getMcVersion()insteadMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IMinecraftyExtension
applyMinecraftyConventions, getApplyMcDependencies, getArchiveOperations, getExecOperations, getExtraParamsCsvs, getFernflowerArguments, getFileSystemOperations, getForgeVersion, getInjectMissingGenerics, getJavaCompatibilityVersion, getJvmLanguageVersion, getLwjgl2Version, getLwjgl3Version, getLwjglVersion, getMainLwjglVersion, getMcpMappingChannel, getMcpMappingVersion, getMcVersion, getMinorMcVersion, getObjectFactory, getProjectLayout, getProviderFactory, getToolchainCompiler, getToolchainLauncher, getToolchainLauncher, getUseForgeEmbeddedMappings, getUsername, getUserUUID, mapMcpVersions
-
Constructor Details
-
MinecraftExtension
-
-
Method Details
-
getSkipSlowTasks
-
getUsesFml
-
getUsesForge
-
getExtraTweakClasses
Extra LaunchWrapper tweak classes to use when running Minecraft -
getExtraRunJvmArguments
Extra JVM arguments to use when running Minecraft -
getInjectedTags
A key-value map of tags to inject into the project either by way of token substitution (hacky, deprecated) or generating a small Java file with the tag values. -
getTagReplacementFiles
Glob patterns on which to run tag replacement, deprecated as the implementation is very hacky, implemented for compat with FG buildscripts -
getGroupsToExcludeFromAutoReobfMapping
Dependency groups to exclude from automatic remapping from dev to reobf jars. Add reobfed dependencies manually to reobfJarConfiguration as needed -
getUseDependencyAccessTransformers
-
getDependenciesForAccessTransformerScan
IfgetUseDependencyAccessTransformers()is true, this is the list of files to scan for AT entries. It's the compileClasspath configuration by default, useConfigurableFileCollection.setFrom(Object...)if you want to replace it with something else. -
setVersion
Deprecated.UseIMinecraftyExtension.getMcVersion()instead -
getVersion
Deprecated.UseIMinecraftyExtension.getMcVersion()instead -
getMappings
Deprecated.
-
IMinecraftyExtension.getMcpMappingVersion()andIMinecraftyExtension.getMcpMappingChannel()instead