mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-30 09:44:24 +00:00
Own structures, jigsaw pools and pieces as resource kinds of iris:structure and check them with its validator, which takes over Iris's structure graph and native replacement checks
This commit is contained in:
1 parent
f71346d235
commit
98562bf962
9 files changed
+930
-7
No files matched your search
@@ -16,6 +16,11 @@ mantle components outside the stage graph any more. Their stage constants, and t
|
||||
types packs may read, live in `src/main/java/art/arcane/iris/builtin`, the package Iris exposes to pack
|
||||
modules; their stage bodies live beside the features they replace.
|
||||
|
||||
Built-in modules also own pack resources and checks of their own. `iris:structure` reads structures, jigsaw
|
||||
pools and jigsaw pieces as resource kinds (`StructureResources`), from the folders and files packs have always
|
||||
used, and checks them with its validator (`StructureValidator`: assembly samples and vanilla structure
|
||||
replacement) wherever Iris validates a pack; Iris core has no loader or validator of its own for them any more.
|
||||
|
||||
Every built-in stage is a full port: the module owns its logic and per-engine state, and the mantle stages
|
||||
work out their reach from the pack when it loads. A dimension's `disabledComponents` turns a mantle stage off
|
||||
by its flag (`CARVED`, `OBJECT`, `FLOATING_OBJECT`, `JIGSAW`) or by its stage id.
|
||||
|
||||
Reference in new issue
Block a user