Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BehindTheScenery/ArgentumLoader

Repository files navigation

Argentum Loader

The mod loader used by Argentum.

Testing

The tests subproject provides several tasks to test Argentum Loader in various usage scenarios without having to include it in a Argentum working directory.

The Gradle property test_neoforge_version controls, which Argentum version is used for these tests.

Production Client

Run the :tests:runProductionClient task to start Argentum Loader in an environment resembling a client launched through the Vanilla launcher.

Production Server

Run the :tests:runProductionServer task to start Argentum Loader in an environment resembling a server launched through one of the Argentum provided startup scripts.

Mod-Development

Run the :tests:runClient or :tests:runServer tasks to start Argentum Loader in an environment resembling a mod development environment.

Extension Points

Mod File Candidate Locators

Responsible for locating potential mod files. Filesystem locations, virtual jars or even full mod-files can be reported to the discovery pipeline for inclusion in the mod loading process. The pipeline also offers a way for locators to add issues (warnings & errors) that will later be shown to the user when mod loading concludes.

Interface: net.neoforged.neoforgespi.locating.IModFileCandidateLocator

Resolved via Java ServiceLoader.

You can construct a basic locator to scan a folder for mods by using IModFileCandidateLocator.forFolder. This can be useful if your locator generates a folder on-disk and wants to delegate to default behavior for it (For example used by ServerPackLocator).

Mod File Readers

Responsible for creating a IModFile for mod file candidates.

The default implementation will resolve the type of the mod file by inspecting the Jar manifest or the mod metadata file (neoforge.mods.toml) and return an IModFile instance if this succeeds.

Interface: net.neoforged.neoforgespi.locating.IModFileReader

Resolved via Java ServiceLoader.

Mod file instances can be created using the static methods on IModFile.

About

Loader for Argentum by BTS, fork of FancyModLoader

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE.txt
Unknown
LICENSE-header.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •  

Languages