Property | Type | Description | |
---|---|---|---|
blocks | byte[] | ||
lighting | bool | ||
pbitmap | short | ||
sections | List | ||
x | int |
Method | Description | |
---|---|---|
Chunk ( int X, int Z, short Pbitmap, short Abitmap, bool inLighting, bool Groundup ) : System | ||
getBlock ( int Bx, int By, int Bz ) : |
||
getBlockId ( int Bx, int By, int Bz ) : int | ||
getData ( byte deCompressed ) : byte[] | ||
populate ( ) : void | ||
updateBlock ( int Bx, int By, int Bz, int id ) : void |
Method | Description | |
---|---|---|
GetPositionInSection ( int blockY ) : int | ||
GetSectionByNumber ( int blockY ) : |
||
getXinSection ( int BlockX ) : int | ||
getZinSection ( int BlockZ ) : int |
public Chunk ( int X, int Z, short Pbitmap, short Abitmap, bool inLighting, bool Groundup ) : System | ||
X | int | |
Z | int | |
Pbitmap | short | |
Abitmap | short | |
inLighting | bool | |
Groundup | bool | |
return | System |
public getBlock ( int Bx, int By, int Bz ) : |
||
Bx | int | |
By | int | |
Bz | int | |
return |
public getBlockId ( int Bx, int By, int Bz ) : int | ||
Bx | int | |
By | int | |
Bz | int | |
return | int |
public getData ( byte deCompressed ) : byte[] | ||
deCompressed | byte | |
return | byte[] |
public updateBlock ( int Bx, int By, int Bz, int id ) : void | ||
Bx | int | |
By | int | |
Bz | int | |
id | int | |
return | void |