mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-29 09:15:27 +00:00
Move the built-in modules to IrisModule.setup
Every built-in module now sets up in one setup(ModuleSetup) body. Soft edges take the stage constants, conditioned stages read their settings through context.configured, mantle stages are the non-generic MantleStage, and the slope and anchor producers return null once they reject.
This commit is contained in:
1 parent
06617d640b
commit
c3d175d8de
23 files changed
+95
-153
No files matched your search
@@ -22,7 +22,7 @@ core (`art.arcane.iris.core.modules.BiomeModule` and `CustomModule`) and Iris re
|
||||
the built-ins jar. Their stage constants stay in `art.arcane.iris.builtin.IrisStages`, so packs can still order after them.
|
||||
|
||||
Built-in modules log through the `ModuleLog` IrisApi hands them (`context.log()` in a stage body, `world.log()` in a
|
||||
service or hook, `registry.log()` while registering), which labels each line with the module's id, so these sources do not
|
||||
service or hook, `setup.log()` during setup), which labels each line with the module's id, so these sources do not
|
||||
use `IrisLogging`. Classes of the host's object model (the host-classes list) and code that only has an engine or pack
|
||||
data still log as Iris itself.
|
||||
|
||||
|
||||
Reference in new issue
Block a user