Class Nms

java.lang.Object
fr.robie.machineengine.api.platform.Nms

public final class Nms extends Object
The NmsAccess of the running server (D28). MachineEngine installs the one matching the server version when it loads, before any addon's onLoad. Like MachineEngine.get(), this is documented static state set once at startup (ยง8.3).
  • Method Details

    • get

      @NotNull public static @NotNull NmsAccess get()
      Returns:
      the running server's version access
      Throws:
      IllegalStateException - before MachineEngine has loaded
    • install

      @Internal public static void install(@NotNull @NotNull NmsAccess implementation)
      Called by MachineEngine once, at load.