Interface InterfaceInjectionExtensionAPI


public interface InterfaceInjectionExtensionAPI
  • 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 in LoomGradleExtensionAPI.getMods()
    • isEnabled

      default boolean isEnabled()