Port perfection to an IrisApi chunk module

- iris:perfection/surface does what IrisPerfectionModifier did on
  overworld chunks: hide ores when the dimension asks, then remove
  decorations whose block below cannot hold them until none is left.
- It runs in the pack's chunk graph on Iris's block hunk, after the
  world mode's stages, so it now follows the custom block stage instead
  of preceding it. ModeOverworld no longer registers it and
  IrisPerfectionModifier is deleted.
- The passes run on the generating thread instead of fanning columns out
  to the burst executor.
This commit is contained in:
piexel committed 2026-10-08 08:50:51 +02:00
1 parent 522a9c85b6
commit 90f5181a88
4 files changed
+218 -204

No files matched your search

@@ -0,0 +1,31 @@
/*
* Iris is a World Generator for Minecraft Servers
* Copyright (c) 2026 Arcane Arts (Volmit Software)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package art.arcane.iris.builtin.perfection;
import com.volmit.stage.ChunkStage;
import com.volmit.stage.Stage;
/** Module {@code iris:perfection}: the last touches on an overworld chunk's blocks. */
public final class PerfectionStages {
/** Hides ores when the dimension asks, then removes decorations that nothing holds up. */
public static final ChunkStage<Void> SURFACE = Stage.chunk("iris:perfection/surface");
private PerfectionStages() {
}
}