Document module jars, entry points and pack loading

This commit is contained in:
piexel committed 2026-10-05 17:49:48 +02:00
1 parent 6388173f19
commit 4fa6ddcd7a
4 files changed
+92 -14

No files matched your search

+6 -1
View File
@@ -2,7 +2,12 @@ package com.volmit;
import com.volmit.stage.StageGraph;
/** A unit of world-generation behavior. The core engine is an ordinary module too. */
/** A unit of world-generation behavior. The core engine is an ordinary module too.
*
* <p>In a pack's module jar this class is the entry point. The jar names it in
* {@code META-INF/services/com.volmit.IrisModule}, and it needs a public no-argument constructor.
* One jar holds exactly one module.
*/
public interface IrisModule {
ModuleInfo info();