Interface ArtifactModifier.TransformerProvider

  • All Superinterfaces:
    java.lang.AutoCloseable
    Enclosing interface:
    ArtifactModifier
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface ArtifactModifier.TransformerProvider
    extends java.lang.AutoCloseable
    A function that can provide a Transformer for use with a renamer, optionally having a post-rename operation to clean up resources.
    • Method Detail

      • provide

        net.minecraftforge.fart.api.Transformer provide()
      • close

        default void close()
                    throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.io.IOException