Package de.geolykt.starloader.mod
Class DiscoveredExtension
java.lang.Object
de.geolykt.starloader.mod.DiscoveredExtension
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic classstatic enum -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull DiscoveredExtensionfromJSON(@NotNull InputStream in, @NotNull ExtensionPrototype prototype) @NotNull StringDeprecated.@NotNull String[]@NotNull String[]@NotNull String[]@NotNull String@NotNull DiscoveredExtension.LoadStatus@NotNull String@NotNull StringgetName()@NotNull StringObtains the reversible access setter file required by this extension.@NotNull ExtensionPrototype@NotNull Stringstatic voidverifyIntegrity(@NotNull DiscoveredExtension extension)
-
Field Details
-
NAME_REGEX
- See Also:
-
files
-
loader
-
-
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
-
getAccessWidener
@NotNull @Deprecated @ScheduledForRemoval(inVersion="5.0.0") public @NotNull String getAccessWidener()Deprecated. -
getAuthors
-
getCodeModifiers
-
getDependencies
-
getEntrypoint
-
getExternalDependencies
-
getLoadStatus
-
getMixinConfig
-
getName
-
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
filesof this extension. - Since:
- 4.0.0
-
getSourcePrototype
@NotNull @AvailableSince("4.0.0-a20240711") @Contract(pure=true) public @NotNull ExtensionPrototype getSourcePrototype() -
getVersion
-