@@ -34,7 +34,7 @@ declare class PCChunk extends CommonChunk {
34
34
getBlockData ( pos : Vec3 ) : number
35
35
getBlockLight ( pos : Vec3 ) : number
36
36
getSkyLight ( pos : Vec3 ) : number
37
- getBiome ( pos : Vec3 ) : number
37
+ getBiome ( pos : Vec3 ) : number
38
38
setBlockStateId ( pos : Vec3 , stateId : number ) : number
39
39
setBlockType ( pos : Vec3 , id : number ) : void
40
40
setBlockData ( pos : Vec3 , data : Buffer ) : void
@@ -46,7 +46,7 @@ declare class PCChunk extends CommonChunk {
46
46
dumpBiomes ( ) : Array < number >
47
47
dumpLight ( ) : Buffer
48
48
loadLight ( data : Buffer , skyLightMask : number , blockLightMask : number , emptySkyLightMask ?: number , emptyBlockLightMask ?: number ) : void
49
- loadLightParse ( skyLight : Buffer [ ] , blockLight : Buffer [ ] , skyLightMask : number [ ] [ ] , blockLightMask : number [ ] [ ] , emptySkyLightMask : number [ ] [ ] , emptyBlockLightMask : number [ ] [ ] ) : void
49
+ loadParsedLight ? ( skyLight : Buffer [ ] , blockLight : Buffer [ ] , skyLightMask : number [ ] [ ] , blockLightMask : number [ ] [ ] , emptySkyLightMask : number [ ] [ ] , emptyBlockLightMask : number [ ] [ ] ) : void
50
50
loadBiomes ( newBiomesArray : Array < number > ) : void ;
51
51
dump ( bitMap ?: number , skyLightSent ?: boolean ) : Buffer
52
52
load ( data : Buffer , bitMap ?: number , skyLightSent ?: boolean , fullChunk ?: boolean ) : void
@@ -113,7 +113,7 @@ declare class BedrockChunk extends CommonChunk {
113
113
maxCY : number
114
114
// The version of the chunk column (analog to DataVersion on PCChunk)
115
115
chunkVersion : number
116
- // Holds all the block entities in the chunk, the string keys are
116
+ // Holds all the block entities in the chunk, the string keys are
117
117
// the concatenated chunk column-relative position of the block.
118
118
blockEntities : Record < string , NBT >
119
119
// Holds entities in the chunk, the string key is the entity ID
@@ -174,7 +174,7 @@ declare class BedrockChunk extends CommonChunk {
174
174
networkEncodeSubChunkNoCache ( y : number ) : Promise < Buffer >
175
175
176
176
/**
177
- *
177
+ *
178
178
* @param blobs The blob hashes sent in the SubChunk packet
179
179
* @param blobStore The Blob Store holding the chunk data
180
180
* @param payload The remaining data sent in the SubChunk packet, border blocks
@@ -198,7 +198,7 @@ declare class BedrockChunk extends CommonChunk {
198
198
loadHeights ( map : Uint16Array ) : void
199
199
writeHeightMap ( stream ) : void
200
200
201
- //
201
+ //
202
202
// Section management
203
203
getSection ( pos ) : SubChunk
204
204
// Returns chunk at a Y index, adjusted for chunks at negative-Y
@@ -226,4 +226,4 @@ export const enum BlobType {
226
226
Biomes = 1 ,
227
227
}
228
228
229
- export default function loader ( mcVersionOrRegistry : string | Registry ) : typeof PCChunk | typeof BedrockChunk
229
+ export default function loader ( mcVersionOrRegistry : string | Registry ) : typeof PCChunk | typeof BedrockChunk
0 commit comments