mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-29 01:04:29 +00:00
TerrainSampler.surfaceY: a column's height alone, which a host answers without working out the slope
This commit is contained in:
1 parent
f99dbc6344
commit
949dd90f10
4 files changed
+13
-3
No files matched your search
@@ -122,7 +122,8 @@ graph.define(APPLY).run(CaveModule::apply); // reads its own chunk's CAVES and
|
||||
|
||||
A chunk stage writes only its own chunk but may look around it: `ctx.terrain()` covers the chunk and the 16 blocks
|
||||
around it, gives the dimension's `fluidHeight()` and, per column, `upperDimensionY(x, z)` where a dimension stacked above
|
||||
begins (write nothing there). `ctx.mantle().blocks()` holds the blocks placements wrote into the mantle for the chunks to
|
||||
begins (write nothing there). `surfaceY(x, z)` is a column's height alone, cheaper than `column(x, z)` when a stage needs
|
||||
no slope. `ctx.mantle().blocks()` holds the blocks placements wrote into the mantle for the chunks to
|
||||
take over, such as objects and structures; a chunk stage copies them in (Iris's `iris:matter`). Stages only read them.
|
||||
|
||||
```java
|
||||
|
||||
Reference in new issue
Block a user