Class MixinApExtensionApiImpl

java.lang.Object
net.fabricmc.loom.extension.MixinApExtensionApiImpl
All Implemented Interfaces:
MixinApExtensionAPI
Direct Known Subclasses:
MixinApExtensionImpl

public abstract class MixinApExtensionApiImpl extends Object implements MixinApExtensionAPI
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add​(String sourceSetName)
    Apply Mixin AP to sourceSet.
    void
    add​(String sourceSetName, String refmapName)
    Apply Mixin AP to sourceSet.
    void
    add​(String sourceSetName, String refmapName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
    Apply Mixin AP to sourceSet.
    void
    add​(String sourceSetName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
    Apply Mixin AP to sourceSet.
    void
    add​(String sourceSetName, org.gradle.api.provider.Provider<String> refmapName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
     
    void
    add​(org.gradle.api.tasks.SourceSet sourceSet)
    Apply Mixin AP to sourceSet.
    void
    add​(org.gradle.api.tasks.SourceSet sourceSet, String refmapName)
    Apply Mixin AP to sourceSet.
    void
    add​(org.gradle.api.tasks.SourceSet sourceSet, String refmapName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
    Apply Mixin AP to sourceSet.
    void
    add​(org.gradle.api.tasks.SourceSet sourceSet, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
    Apply Mixin AP to sourceSet.
    void
    add​(org.gradle.api.tasks.SourceSet sourceSet, org.gradle.api.provider.Provider<String> refmapName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
     
    protected org.gradle.api.tasks.util.PatternSet
    add0​(org.gradle.api.tasks.SourceSet sourceSet, String refmapName)
     
    protected abstract org.gradle.api.tasks.util.PatternSet
    add0​(org.gradle.api.tasks.SourceSet sourceSet, org.gradle.api.provider.Provider<String> refmapName)
     
    protected abstract org.gradle.api.Project
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.fabricmc.loom.api.MixinApExtensionAPI

    getDefaultRefmapName
  • Constructor Details

    • MixinApExtensionApiImpl

      public MixinApExtensionApiImpl()
  • Method Details

    • getProject

      protected abstract org.gradle.api.Project getProject()
    • add0

      protected final org.gradle.api.tasks.util.PatternSet add0(org.gradle.api.tasks.SourceSet sourceSet, String refmapName)
    • add0

      protected abstract org.gradle.api.tasks.util.PatternSet add0(org.gradle.api.tasks.SourceSet sourceSet, org.gradle.api.provider.Provider<String> refmapName)
    • add

      public void add(org.gradle.api.tasks.SourceSet sourceSet, String refmapName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
      Description copied from interface: MixinApExtensionAPI
      Apply Mixin AP to sourceSet.
      Specified by:
      add in interface MixinApExtensionAPI
      Parameters:
      sourceSet - the sourceSet that applies Mixin AP.
      refmapName - the output ref-map name. By default this will be MixinApExtensionAPI.getDefaultRefmapName()
      action - used for filter the mixin json files. By default this will be all files with name *.mixins.json that is inside the resources folder of sourceSet.
    • add

      public void add(org.gradle.api.tasks.SourceSet sourceSet, String refmapName)
      Description copied from interface: MixinApExtensionAPI
      Apply Mixin AP to sourceSet. See MixinApExtensionAPI.add(SourceSet, String, Action) for more detail.
      Specified by:
      add in interface MixinApExtensionAPI
      Parameters:
      sourceSet - the sourceSet that applies Mixin AP.
      refmapName - the output ref-map name.
    • add

      public void add(String sourceSetName, String refmapName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
      Description copied from interface: MixinApExtensionAPI
      Apply Mixin AP to sourceSet. See MixinApExtensionAPI.add(SourceSet, String, Action) for more detail.
      Specified by:
      add in interface MixinApExtensionAPI
      Parameters:
      sourceSetName - the name of sourceSet that applies Mixin AP.
      refmapName - the output ref-map name.
      action - used for filter the mixin json files.
    • add

      public void add(String sourceSetName, org.gradle.api.provider.Provider<String> refmapName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
    • add

      public void add(org.gradle.api.tasks.SourceSet sourceSet, org.gradle.api.provider.Provider<String> refmapName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
    • add

      public void add(String sourceSetName, String refmapName)
      Description copied from interface: MixinApExtensionAPI
      Apply Mixin AP to sourceSet. See MixinApExtensionAPI.add(SourceSet, String, Action) for more detail.
      Specified by:
      add in interface MixinApExtensionAPI
      Parameters:
      sourceSetName - the name of sourceSet that applies Mixin AP.
      refmapName - the output ref-map name.
    • add

      public void add(org.gradle.api.tasks.SourceSet sourceSet, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
      Description copied from interface: MixinApExtensionAPI
      Apply Mixin AP to sourceSet. See MixinApExtensionAPI.add(SourceSet, String, Action) for more detail.
      Specified by:
      add in interface MixinApExtensionAPI
      Parameters:
      sourceSet - the sourceSet that applies Mixin AP.
      action - used for filter the mixin json files.
    • add

      public void add(org.gradle.api.tasks.SourceSet sourceSet)
      Description copied from interface: MixinApExtensionAPI
      Apply Mixin AP to sourceSet. See MixinApExtensionAPI.add(SourceSet, String, Action) for more detail.
      Specified by:
      add in interface MixinApExtensionAPI
      Parameters:
      sourceSet - the sourceSet that applies Mixin AP.
    • add

      public void add(String sourceSetName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)
      Description copied from interface: MixinApExtensionAPI
      Apply Mixin AP to sourceSet. See MixinApExtensionAPI.add(SourceSet, String, Action) for more detail.
      Specified by:
      add in interface MixinApExtensionAPI
      Parameters:
      sourceSetName - the name of sourceSet that applies Mixin AP.
      action - used for filter the mixin json files.
    • add

      public void add(String sourceSetName)
      Description copied from interface: MixinApExtensionAPI
      Apply Mixin AP to sourceSet. See MixinApExtensionAPI.add(SourceSet, String, Action) for more detail.
      Specified by:
      add in interface MixinApExtensionAPI
      Parameters:
      sourceSetName - the name of sourceSet that applies Mixin AP.