Package net.fabricmc.loom.api
Interface InterfaceInjectionExtensionAPI
public interface InterfaceInjectionExtensionAPI
-
Method Summary
Modifier and TypeMethodDescriptionorg.gradle.api.provider.Property<Boolean> When true loom will inject interfaces declared in dependency mod manifests into the minecraft jar file.org.gradle.api.provider.ListProperty<org.gradle.api.tasks.SourceSet> Deprecated, for removal: This API element is subject to removal in a future version.org.gradle.api.provider.Property<Boolean> default boolean
-
Method Details
-
getEnableDependencyInterfaceInjection
org.gradle.api.provider.Property<Boolean> getEnableDependencyInterfaceInjection()When true loom will inject interfaces declared in dependency mod manifests into the minecraft jar file. This is used to expose interfaces that are implemented on Minecraft classes by mixins at runtime in the dev environment.- Returns:
- the property controlling interface injection.
-
getIsEnabled
org.gradle.api.provider.Property<Boolean> getIsEnabled() -
getInterfaceInjectionSourceSets
@Deprecated(forRemoval=true) org.gradle.api.provider.ListProperty<org.gradle.api.tasks.SourceSet> getInterfaceInjectionSourceSets()Deprecated, for removal: This API element is subject to removal in a future version.now uses the source sets defined inLoomGradleExtensionAPI.getMods() -
isEnabled
default boolean isEnabled()
-
LoomGradleExtensionAPI.getMods()