YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.world.chunk.NibbleArray Class Reference

Public Member Functions

 NibbleArray (int par1, int par2)
 
 NibbleArray (byte[] par1ArrayOfByte, int par2)
 
int get (int par1, int par2, int par3)
 
void set (int par1, int par2, int par3, int par4)
 

Public Attributes

final byte[] data
 

Constructor & Destructor Documentation

net.minecraft.world.chunk.NibbleArray.NibbleArray ( int  par1,
int  par2 
)
net.minecraft.world.chunk.NibbleArray.NibbleArray ( byte[]  par1ArrayOfByte,
int  par2 
)

Member Function Documentation

int net.minecraft.world.chunk.NibbleArray.get ( int  par1,
int  par2,
int  par3 
)

Returns the nibble of data corresponding to the passed in x, y, z. y is at most 6 bits, z is at most 4.

void net.minecraft.world.chunk.NibbleArray.set ( int  par1,
int  par2,
int  par3,
int  par4 
)

Arguments are x, y, z, val. Sets the nibble of data at x << 11 | z << 7 | y to val.

Member Data Documentation

final byte [] net.minecraft.world.chunk.NibbleArray.data

Byte array of data stored in this holder. Possibly a light map or some chunk data. Data is accessed in 4-bit pieces.


The documentation for this class was generated from the following file: