Class Lynx

java.lang.Object
net.lynxclient.api.Lynx

public final class Lynx extends Object
Entry point for addons: Lynx.api().
  • Field Details

    • API_VERSION

      public static final int API_VERSION
      Major version of this API. Addons declare the version they were written for ("custom": {"lynx": {"api": 1}}); only addons with the same major version are loaded. Within a major version the API only grows – nothing is removed or changed incompatibly.
      See Also:
  • Method Details

    • api

      public static LynxApi api()
      The running LynxClient. Available once Minecraft has started (client entrypoints).
    • install

      public static void install(LynxApi instance)
      Called once by Lynx-Core itself – not for addons.