mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-12-02 19:22:08 +00:00
Generate every world through built-in module stages and remove the world modes
The overworld pipeline becomes ten built-in modules with typed ordering: biome, terrain, carve, post, floating, deposit, matter, decorant, perfection and custom. The world modes and the dimension's mode setting are gone; a pack's mode key now gets the unknown-key warning. iris:biome, iris:deposit and the cave planning of iris:carve are full ports. Deposits are settings of their own (iris:deposit, written as "deposits": [...]) that stack: a chunk gets the dimension's, the region's and the biome's at its centre column. Cave planning is a mantle stage with a reach of one block, its work done by CaveCarving. The other stages wrap the existing actuators and modifiers. Perfection no longer checks for an overworld.
This commit is contained in:
1 parent
70a69fadad
commit
a77a097baf
34 files changed
+1012
-545
No files matched your search
@@ -6,9 +6,18 @@ direct dependencies on Iris internals.
|
||||
|
||||
Ported features are IrisApi modules that every pack loads before its own: object placement
|
||||
(`iris:prepare`, `iris:anchor`, `iris:validate`, `iris:bore`, `iris:blocks`, `iris:stilt`,
|
||||
`iris:vacuum`, `iris:snow`) and `iris:perfection`. Their stage constants and the output 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.
|
||||
`iris:vacuum`, `iris:snow`) and chunk generation, which every world runs in this order: `iris:biome`,
|
||||
`iris:terrain`, `iris:carve` (a mantle stage planning caves, and a chunk stage cutting them),
|
||||
`iris:post`, `iris:floating` (solids), `iris:deposit`, `iris:matter`, `iris:decorant`, `iris:floating`
|
||||
(decoration), `iris:perfection` and `iris:custom`. There are no world modes any more. Their stage
|
||||
constants, and the settings and output 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.
|
||||
|
||||
`iris:biome` and `iris:deposit` (chunk stages) and the cave planning of `iris:carve` (a mantle stage) are
|
||||
full ports: the module owns its logic and per-engine state. The other generation stages are thin wrappers
|
||||
that run the existing actuator or modifier unchanged. Iris's object, floating object and structure mantle
|
||||
components are still Iris mantle components.
|
||||
|
||||
Iris core and these sources still depend on each other. The Iris host build therefore compiles them
|
||||
together as one source set. This keeps the existing class names and platform artifacts while the
|
||||
|
||||
Reference in new issue
Block a user