mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 00:04:42 +00:00
ModuleMantleComponent now runs one mantle stage. IrisEngineMantle builds one component per stage of the pack's mantle graph, in resolved order, each its own pass, when first needed after a load or hotload, so a pack mantle stage can order itself after Iris's objects and structures. A stage's radius is its reach, worked out from the pack (IrisPackSettings: the dimension, its regions and biomes). Iris's own stages keep the flags of the components they replace (CARVED, OBJECT, FLOATING_OBJECT, JIGSAW), so disabledComponents keeps working; pack stages get custom flags in order (MantleStageFlags). There is one mantle path now: the separately registered object, floating object and structure components, IrisMantleComponent, the ComponentFlag annotation, registerComponent and getObjectComponent are gone. Engine.getObjectsAt asks the runtime's ObjectPlacing.