Surface for ported built-ins: VINE trait, canPlaceOn, the sampler's fluid height and upper dimension, the mantle's planned blocks, a chunk sampler that covers the neighbors, stage timings from the chunk runner

This commit is contained in:
piexel committed 2026-10-10 08:35:10 +02:00
1 parent f8d85dcd5e
commit 6c0c072afe
11 files changed
+139 -5

No files matched your search

@@ -1,5 +1,6 @@
package com.volmit.host;
import com.volmit.block.BlockState;
import com.volmit.mantle.BlockBox;
import com.volmit.mantle.Mantle;
import com.volmit.mantle.MantleEdit;
@@ -30,6 +31,11 @@ final class ReadOnlyMantle implements Mantle {
return new ReadOnlyLayer<>(mantle.layer(key));
}
@Override
public MantleLayer<BlockState> blocks() {
return new ReadOnlyLayer<>(mantle.blocks());
}
@Override
public MantleEdit edit() {
throw new UnsupportedOperationException(READ_ONLY);