Package net.fabricmc.loom.api
Interface MixinExtensionAPI
- All Known Subinterfaces:
MixinExtension
- All Known Implementing Classes:
MixinExtensionApiImpl,MixinExtensionImpl
@Experimental
public interface MixinExtensionAPI
-
Method Summary
Modifier and TypeMethodDescriptionvoidApply Mixin AP to sourceSet.voidApply Mixin AP to sourceSet.voidadd(String sourceSetName, String refmapName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)Apply Mixin AP to sourceSet.voidApply Mixin AP to sourceSet.voidadd(org.gradle.api.tasks.SourceSet sourceSet)Apply Mixin AP to sourceSet.voidApply Mixin AP to sourceSet.voidadd(org.gradle.api.tasks.SourceSet sourceSet, String refmapName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)Apply Mixin AP to sourceSet.voidadd(org.gradle.api.tasks.SourceSet sourceSet, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)Apply Mixin AP to sourceSet.org.gradle.api.provider.Property<String>org.gradle.api.provider.Property<Boolean>
-
Method Details
-
getUseLegacyMixinAp
org.gradle.api.provider.Property<Boolean> getUseLegacyMixinAp() -
getDefaultRefmapName
org.gradle.api.provider.Property<String> getDefaultRefmapName() -
add
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.- Parameters:
sourceSet- the sourceSet that applies Mixin AP.refmapName- the output ref-map name. By default this will begetDefaultRefmapName()action- used for filter the mixin json files. By default this will be all files with name*.mixins.jsonthat is inside theresourcesfolder ofsourceSet.
-
add
Apply Mixin AP to sourceSet. Seeadd(SourceSet, String, Action)for more detail.- Parameters:
sourceSet- the sourceSet that applies Mixin AP.refmapName- the output ref-map name.
-
add
void add(org.gradle.api.tasks.SourceSet sourceSet, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)Apply Mixin AP to sourceSet. Seeadd(SourceSet, String, Action)for more detail.- Parameters:
sourceSet- the sourceSet that applies Mixin AP.action- used for filter the mixin json files.
-
add
void add(org.gradle.api.tasks.SourceSet sourceSet)Apply Mixin AP to sourceSet. Seeadd(SourceSet, String, Action)for more detail.- Parameters:
sourceSet- the sourceSet that applies Mixin AP.
-
add
void add(String sourceSetName, String refmapName, org.gradle.api.Action<org.gradle.api.tasks.util.PatternSet> action)Apply Mixin AP to sourceSet. Seeadd(SourceSet, String, Action)for more detail.- 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
Apply Mixin AP to sourceSet. Seeadd(SourceSet, String, Action)for more detail.- Parameters:
sourceSetName- the name of sourceSet that applies Mixin AP.refmapName- the output ref-map name.
-
add
Apply Mixin AP to sourceSet. Seeadd(SourceSet, String, Action)for more detail.- Parameters:
sourceSetName- the name of sourceSet that applies Mixin AP.action- used for filter the mixin json files.
-
add
Apply Mixin AP to sourceSet. Seeadd(SourceSet, String, Action)for more detail.- Parameters:
sourceSetName- the name of sourceSet that applies Mixin AP.
-