public class FlatChunkGeneratorLayer extends Object
Modifier and Type | Field and Description |
---|---|
private BlockState |
blockState |
static com.mojang.serialization.Codec<FlatChunkGeneratorLayer> |
CODEC |
private int |
startY |
private int |
thickness |
Constructor and Description |
---|
FlatChunkGeneratorLayer(int thickness,
Block block) |
Modifier and Type | Method and Description |
---|---|
BlockState |
getBlockState() |
int |
getStartY() |
int |
getThickness() |
void |
setStartY(int startY) |
String |
toString() |
public static final com.mojang.serialization.Codec<FlatChunkGeneratorLayer> CODEC
private final BlockState blockState
private final int thickness
private int startY
public FlatChunkGeneratorLayer(int thickness, Block block)
public int getThickness()
public BlockState getBlockState()
public int getStartY()
public void setStartY(int startY)