Class DiscoveredExtension

java.lang.Object
de.geolykt.starloader.mod.DiscoveredExtension

public final class DiscoveredExtension extends Object
  • Field Details

  • Method Details

    • fromJSON

      @NotNull @AvailableSince("4.0.0-a20240711") public static @NotNull DiscoveredExtension fromJSON(@NotNull @NotNull InputStream in, @NotNull @NotNull ExtensionPrototype prototype) throws IOException
      Throws:
      IOException
    • verifyIntegrity

      public static void verifyIntegrity(@NotNull @NotNull DiscoveredExtension extension)
    • getAccessWidener

      @NotNull @Deprecated @ScheduledForRemoval(inVersion="5.0.0") public @NotNull String getAccessWidener()
      Deprecated.
    • getAuthors

      @NotNull public @NotNull String[] getAuthors()
    • getCodeModifiers

      @NotNull public @NotNull String[] getCodeModifiers()
    • getDependencies

      @NotNull public @NotNull String[] getDependencies()
    • getEntrypoint

      @NotNull public @NotNull String getEntrypoint()
    • getExternalDependencies

      @NotNull public @NotNull DiscoveredExtension.ExternalDependencies getExternalDependencies()
    • getLoadStatus

      @NotNull public @NotNull DiscoveredExtension.LoadStatus getLoadStatus()
    • getMixinConfig

      @NotNull public @NotNull String getMixinConfig()
    • getName

      @NotNull public @NotNull String getName()
    • getReversibleAccessSetter

      @NotNull public @NotNull String getReversibleAccessSetter()
      Obtains the reversible access setter file required by this extension. Returns an empty string if not set.
      Returns:
      The path to the reversible access setter file relative to the files of this extension.
      Since:
      4.0.0
    • getSourcePrototype

      @NotNull @AvailableSince("4.0.0-a20240711") @Contract(pure=true) public @NotNull ExtensionPrototype getSourcePrototype()
    • getVersion

      @NotNull public @NotNull String getVersion()