mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 16:25:36 +00:00
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:
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);
|
||||
|
||||
Reference in new issue
Block a user