public class ChunkSection extends Object
| Constructor and Description |
|---|
ChunkSection(BlockStorage[] storage) |
ChunkSection(int airBlockId) |
| Modifier and Type | Method and Description |
|---|---|
static int |
blockPosition(int x,
int y,
int z) |
ChunkSection |
copy() |
int |
estimateNetworkSize() |
BlockStorage[] |
getBlockStorageArray() |
int |
getFullBlock(int x,
int y,
int z,
int layer) |
boolean |
isEmpty() |
void |
setFullBlock(int x,
int y,
int z,
int layer,
int fullBlock) |
void |
writeToNetwork(io.netty.buffer.ByteBuf buffer) |
public ChunkSection(int airBlockId)
public ChunkSection(BlockStorage[] storage)
public int getFullBlock(int x,
int y,
int z,
int layer)
public void setFullBlock(int x,
int y,
int z,
int layer,
int fullBlock)
public void writeToNetwork(io.netty.buffer.ByteBuf buffer)
public int estimateNetworkSize()
public BlockStorage[] getBlockStorageArray()
public boolean isEmpty()
public ChunkSection copy()
public static int blockPosition(int x,
int y,
int z)
Copyright © 2021 GeyserMC. All rights reserved.