Annotation Interface RegisterMapper


@Retention(SOURCE) @Target(TYPE) @Documented public @interface RegisterMapper
Automatically registers a value mapper or mapper factory for the LibX config system. An annotated class must define a public no-arg constructor.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The mod id of the mod which needs to be loaded to register this mapper.
  • Element Details

    • requiresMod

      String requiresMod
      The mod id of the mod which needs to be loaded to register this mapper.
      Default:
      ""