Interface IStriderLoader

All Known Implementing Classes:
StriderLoader

public interface IStriderLoader
Represents the core mod loader interface. Provides access to loader information, mods, and game transformation utilities.
  • Method Details

    • crash

      void crash(String msg)
      Forces the loader to crash with a custom message.
      Parameters:
      msg - the crash message
    • crash

      void crash(Throwable th)
      Forces the loader to crash with an exception.
      Parameters:
      th - the throwable causing the crash
    • crash

      void crash(String msg, Throwable th)
      Forces the loader to crash with a custom message and an exception.
      Parameters:
      msg - the crash message
      th - the throwable causing the crash
    • getLoaderVersion

      String getLoaderVersion()
      Returns the version of StriderLoader.
      Returns:
      the loader version string
    • getMinecraftVersion

      String getMinecraftVersion()
      Returns the version of Minecraft the loader is running on.
      Returns:
      the Minecraft version string
    • getMinecraftSide

      MinecraftSide getMinecraftSide()
      Returns the side (client/server) the loader is running on.
      Returns:
      the MinecraftSide enum value
    • isUiEnabled

      boolean isUiEnabled()
      Returns whether the loader UI is enabled.
      Returns:
      true if the UI is enabled, false otherwise
    • getClassLoader

      StriderClassLoader getClassLoader()
      Returns the class loader used by the game.
      Returns:
      the StriderClassLoader instance
    • getAddons

      Map<String, AddonContainer> getAddons()
      Returns an immutable map of all loaded addons, indexed by their addon IDs.
      Returns:
      a map of mod ID to AddonContainer