Added ChunkSnapShot improvements. Thanks mikeprimm!
Added support for biome data to chunk snapshot Added method for returning empty chunk snapshot (for ungenerated chunks) By: EvilSeph <evilseph@unaligned.org>
This commit is contained in:
@@ -46,6 +46,15 @@ public interface Chunk {
|
||||
*/
|
||||
ChunkSnapshot getChunkSnapshot();
|
||||
|
||||
/**
|
||||
* Capture thread-safe read-only snapshot of chunk data
|
||||
* @param includeMaxblocky - if true, snapshot includes per-coordinate maximum Y values
|
||||
* @param includeBiome - if true, snapshot includes per-coordinate biome type
|
||||
* @param includeBiomeTempRain - if true, snapshot includes per-coordinate raw biome temperature and rainfall
|
||||
* @return ChunkSnapshot
|
||||
*/
|
||||
ChunkSnapshot getChunkSnapshot(boolean includeMaxblocky, boolean includeBiome, boolean includeBiomeTempRain);
|
||||
|
||||
Entity[] getEntities();
|
||||
|
||||
BlockState[] getTileEntities();
|
||||
|
||||
Reference in New Issue
Block a user