public class ChunkSection extends Object
| Constructor and Description |
|---|
ChunkSection() |
ChunkSection(BlockStorage[] storage) |
| 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()
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 © 2020 GeyserMC. All rights reserved.