Class LegacyMinecraftExtension
java.lang.Object
net.minecraftforge.forgedev.LegacyMinecraftExtension
- Direct Known Subclasses:
LegacyPatcherExtension
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.gradle.api.file.ConfigurableFileCollectionprotected final org.gradle.api.Project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccessTransformer(Object file) voidaccessTransformers(Object... files) org.gradle.api.file.ConfigurableFileCollectionabstract org.gradle.api.provider.Property<Boolean> If Gradle resources should be copied to the respective IDE output folders before starting the game.abstract org.gradle.api.provider.Property<Boolean> If the Eclipse configurations should run theprepareXtask before starting the game.abstract org.gradle.api.provider.Property<Boolean> If the IntelliJ IDEA configurations should run theprepareXtask before starting the game.abstract org.gradle.api.provider.Property<Boolean> If run configurations should be grouped in folders.abstract org.gradle.api.provider.Property<String> org.gradle.api.provider.Provider<String> abstract org.gradle.api.provider.Property<String> protected abstract org.gradle.api.model.ObjectFactoryorg.gradle.api.Projectabstract org.gradle.api.file.ConfigurableFileCollectionvoidvoidmappings(Map<String, ? extends CharSequence> mappings) voidmappings(org.gradle.api.provider.Provider<String> channel, org.gradle.api.provider.Provider<String> version) voidsetAccessTransformer(Object files) voidsetAccessTransformers(Object... files)
-
Field Details
-
project
protected final org.gradle.api.Project project -
accessTransformers
protected final org.gradle.api.file.ConfigurableFileCollection accessTransformers
-
-
Constructor Details
-
LegacyMinecraftExtension
@Inject public LegacyMinecraftExtension(org.gradle.api.Project project)
-
-
Method Details
-
getObjects
@Inject protected abstract org.gradle.api.model.ObjectFactory getObjects() -
getProject
public org.gradle.api.Project getProject() -
getMappingChannel
-
getMappingVersion
-
getMappings
-
mappings
-
mappings
-
mappings
-
getAccessTransformers
public org.gradle.api.file.ConfigurableFileCollection getAccessTransformers() -
setAccessTransformers
-
setAccessTransformer
-
accessTransformers
-
accessTransformer
-
getSideAnnotationStrippers
public abstract org.gradle.api.file.ConfigurableFileCollection getSideAnnotationStrippers() -
getEnableEclipsePrepareRuns
If the Eclipse configurations should run theprepareXtask before starting the game.Default:
false -
getEnableIdeaPrepareRuns
If the IntelliJ IDEA configurations should run theprepareXtask before starting the game.Default:
false -
getCopyIdeResources
If Gradle resources should be copied to the respective IDE output folders before starting the game.Default:
false -
getGenerateRunFolders
If run configurations should be grouped in folders.Default:
false
-