public class ChunkSection extends Object
| Constructor and Description |
|---|
ChunkSection() |
ChunkSection(BlockStorage[] storage,
byte[] skyLight,
byte[] blockLight) |
| Modifier and Type | Method and Description |
|---|---|
ChunkSection |
copy() |
int |
getBlockId(int x,
int y,
int z,
int layer) |
NibbleArray |
getBlockLight() |
byte |
getBlockLight(int x,
int y,
int z) |
NibbleArray |
getSkyLight() |
byte |
getSkyLight(int x,
int y,
int z) |
boolean |
isEmpty() |
void |
setBlockId(int x,
int y,
int z,
int layer,
int id) |
void |
setBlockLight(int x,
int y,
int z,
byte val) |
void |
setSkyLight(int x,
int y,
int z,
byte val) |
public ChunkSection()
public ChunkSection(BlockStorage[] storage, byte[] skyLight, byte[] blockLight)
public int getBlockId(int x,
int y,
int z,
int layer)
public byte getSkyLight(int x,
int y,
int z)
public byte getBlockLight(int x,
int y,
int z)
public void setBlockId(int x,
int y,
int z,
int layer,
int id)
public void setSkyLight(int x,
int y,
int z,
byte val)
public void setBlockLight(int x,
int y,
int z,
byte val)
public NibbleArray getSkyLight()
public NibbleArray getBlockLight()
public ChunkSection copy()
public boolean isEmpty()
Copyright © 2017–2020 NukkitX. All rights reserved.