GenerationContext.mantle covers the chunk and the 16 blocks around it, like terrain()

This commit is contained in:
piexel committed 2026-10-12 02:03:13 +02:00
1 parent 4a0d82ea3b
commit dfdda39667
1 file changed
+3 -1
@@ -20,7 +20,9 @@ public interface GenerationContext extends InvocationContext {
FeatureSettings settings();
/** Non-null mantle access scoped to this invocation; the host owns its lifetime. Chunk stages read it
* only: the mantle pipeline has finished around the chunk, and writes throw.
* only: the mantle pipeline has finished around the chunk, and writes throw. Like {@link #terrain()} it covers the
* chunk and the 16 blocks around it, so a stage that places something against a neighbor can see what the mantle
* holds there.
*/
Mantle mantle();