Interface Aw2AtSettings


@Experimental public interface Aw2AtSettings
  • Method Summary

    Modifier and Type
    Method
    Description
    org.gradle.api.provider.SetProperty<String>
    Gets the jar paths to the access wideners or class tweakers that will be converted to ATs for Forge or NeoForge runtime.
  • Method Details

    • getAccessWideners

      org.gradle.api.provider.SetProperty<String> getAccessWideners()
      Gets the jar paths to the access wideners or class tweakers that will be converted to ATs for Forge or NeoForge runtime. If you specify multiple files, they will be merged into one.

      The file paths are relative to the mod jar root, corresponding to resources directories in a development environment, not the project directory! For example, "my_mod.accesswidener" corresponds to the source file src/main/resources/my_mod.accesswidener.

      The specified files will be converted and removed from the final jar.

      Returns:
      the property containing access widener paths in the final jar