public class ZoomMapLayer extends MapLayer
Modifier and Type | Class and Description |
---|---|
static class |
ZoomMapLayer.ZoomType |
Constructor and Description |
---|
ZoomMapLayer(long seed,
MapLayer belowLayer) |
ZoomMapLayer(long seed,
MapLayer belowLayer,
ZoomMapLayer.ZoomType zoomType)
Creates a map layer.
|
Modifier and Type | Method and Description |
---|---|
int[] |
generateValues(int x,
int z,
int sizeX,
int sizeZ) |
initialize, nextInt, setCoordsSeed
public ZoomMapLayer(long seed, MapLayer belowLayer)
public ZoomMapLayer(long seed, MapLayer belowLayer, ZoomMapLayer.ZoomType zoomType)
seed
- the layer random seedbelowLayer
- the layer generated before this onezoomType
- the zoom-type parameterpublic int[] generateValues(int x, int z, int sizeX, int sizeZ)
generateValues
in class MapLayer
Copyright © 2021. All rights reserved.