Annotation Interface JourneyMapPlugin


@Target(TYPE) @Retention(RUNTIME) public @interface JourneyMapPlugin
Used by JourneyMap to discover and classload plugin classes.

Classes with this annotation must have a no-arg constructor and must also implement the IClientPlugin interface.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Mod Devs can supply the version of journeymap-api the mod was built against, so that it will not load the plugin if there is a breaking change.
  • Element Details

    • apiVersion

      @Nullable String apiVersion
      Mod Devs can supply the version of journeymap-api the mod was built against, so that it will not load the plugin if there is a breaking change.
      Returns:
      - The Api Version