Replace fixed placement hooks with a module-owned stage graph

Modules now define every stage themselves through IrisModule.install(StageGraph):
typed stage constants, hard requires(...) on other modules' constants, soft
ordering by id, when(...) activation and typed outputs. Placement and chunk
generation resolve on the same machinery; adjacent per-block stages fuse into
one block pass.

The host-defined PlacementModifier hooks, string Dependencies, GenerationPlan,
PlacementPipeline, DependencyOrder and OccurrenceOrder are removed.
This commit is contained in:
piexel committed 2026-10-05 17:23:31 +02:00
1 parent 9043d93fbd
commit eeb5486098
76 files changed
+2717 -1567

No files matched your search

+10 -4
View File
@@ -1,10 +1,16 @@
package com.volmit;
import com.volmit.stage.StageGraph;
/** A unit of world-generation behavior. The core engine is an ordinary module too. */
public interface IrisModule {
ModuleInfo info();
String name();
/** Defines this module's stages, before settings are decoded or generation starts.
* Called once per pack load; stage bodies must not capture per-invocation state.
*/
void install(StageGraph graph);
String displayVersion();
/** Called during registration, before settings are decoded or generation starts. */
void register(FeatureRegistry registry);
/** Registers non-stage contributions: geometry generators and mantle layers. */
default void register(FeatureRegistry registry) {}
}