public final class ChunkPrimer extends Object
This class is not thread-safe.
| Constructor and Description |
|---|
ChunkPrimer() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears this chunk primer, resetting all blocks to air.
|
BlockState |
getBlock(int x,
int y,
int z) |
BlockState |
getBlock(int x,
int y,
int z,
int layer) |
void |
setBlock(int x,
int y,
int z,
BlockState blockState) |
void |
setBlock(int x,
int y,
int z,
int layer,
BlockState blockState) |
public void setBlock(int x,
int y,
int z,
BlockState blockState)
public void setBlock(int x,
int y,
int z,
int layer,
BlockState blockState)
public BlockState getBlock(int x, int y, int z)
public BlockState getBlock(int x, int y, int z, int layer)
public void clear()
Copyright © 2020. All rights reserved.