public abstract class MapLayer extends Object
Constructor and Description |
---|
MapLayer(long seed) |
Modifier and Type | Method and Description |
---|---|
abstract int[] |
generateValues(int x,
int z,
int sizeX,
int sizeZ) |
static MapLayer[] |
initialize(long seed,
org.bukkit.World.Environment environment,
org.bukkit.WorldType worldType)
Creates the instances for the given map.
|
int |
nextInt(int max) |
void |
setCoordsSeed(int x,
int z) |
public static MapLayer[] initialize(long seed, org.bukkit.World.Environment environment, org.bukkit.WorldType worldType)
seed
- the world seedenvironment
- the type of dimensionworldType
- the world generatorpublic void setCoordsSeed(int x, int z)
public int nextInt(int max)
public abstract int[] generateValues(int x, int z, int sizeX, int sizeZ)
Copyright © 2021. All rights reserved.