Interface ModJarRemap.Extensions

Enclosing class:
ModJarRemap
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 ModJarRemap.Extensions
追加 remapper 配置的回调.

允许抛出 IOException:既有实现里有若干构造步骤(例如 kotlin classloader、 mod processor 扩展)本身会抛受检异常。用普通 Consumer 会迫使调用方把它包成 非受检异常,改变原有的异常传播语义。

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(net.fabricmc.tinyremapper.TinyRemapper.Builder builder)
     
  • Method Details

    • accept

      void accept(net.fabricmc.tinyremapper.TinyRemapper.Builder builder) throws IOException
      Throws:
      IOException