Class LegacyMinecraftExtension

java.lang.Object
net.minecraftforge.forgedev.LegacyMinecraftExtension
Direct Known Subclasses:
LegacyPatcherExtension

@VisibleForTesting public abstract class LegacyMinecraftExtension extends Object
  • Field Details

    • accessTransformers

      protected final org.gradle.api.file.ConfigurableFileCollection accessTransformers
  • Constructor Details

    • LegacyMinecraftExtension

      @Inject public LegacyMinecraftExtension()
  • Method Details

    • getObjects

      @Inject protected abstract org.gradle.api.model.ObjectFactory getObjects()
    • getProject

      @Inject protected abstract org.gradle.api.Project getProject()
    • getMappingChannel

      public abstract org.gradle.api.provider.Property<String> getMappingChannel()
    • getMappingVersion

      public abstract org.gradle.api.provider.Property<String> getMappingVersion()
    • getMappings

      public org.gradle.api.provider.Provider<String> getMappings()
    • mappings

      public void mappings(org.gradle.api.provider.Provider<String> channel, org.gradle.api.provider.Provider<String> version)
    • mappings

      public void mappings(String channel, String version)
    • mappings

      public void mappings(Map<String, ? extends CharSequence> mappings)
    • getRuns

      public org.gradle.api.NamedDomainObjectContainer<? extends SlimeLauncherOptions> getRuns()
    • runs

      public void runs(@DelegatesTo(org.gradle.api.NamedDomainObjectContainer.class) groovy.lang.Closure<?> closure)
    • runs

      public void runs(org.gradle.api.Action<? super org.gradle.api.NamedDomainObjectContainer<? extends SlimeLauncherOptions>> action)
    • getAccessTransformers

      public org.gradle.api.file.ConfigurableFileCollection getAccessTransformers()
    • setAccessTransformers

      public void setAccessTransformers(Object... files)
    • setAccessTransformer

      public void setAccessTransformer(Object files)
    • accessTransformers

      public void accessTransformers(Object... files)
    • accessTransformer

      public void accessTransformer(Object file)
    • getSideAnnotationStrippers

      public abstract org.gradle.api.file.ConfigurableFileCollection getSideAnnotationStrippers()
    • getEnableEclipsePrepareRuns

      public abstract org.gradle.api.provider.Property<Boolean> getEnableEclipsePrepareRuns()
      If the Eclipse configurations should run the prepareX task before starting the game.

      Default: false

    • getEnableIdeaPrepareRuns

      public abstract org.gradle.api.provider.Property<Boolean> getEnableIdeaPrepareRuns()
      If the IntelliJ IDEA configurations should run the prepareX task before starting the game.

      Default: false

    • getCopyIdeResources

      public abstract org.gradle.api.provider.Property<Boolean> getCopyIdeResources()
      If Gradle resources should be copied to the respective IDE output folders before starting the game.

      Default: false

    • getGenerateRunFolders

      public abstract org.gradle.api.provider.Property<Boolean> getGenerateRunFolders()
      If run configurations should be grouped in folders.

      Default: false