public class Lake extends Object implements TerrainObject
PLANT_TYPES
Constructor and Description |
---|
Lake(org.bukkit.Material type) |
Modifier and Type | Method and Description |
---|---|
boolean |
generate(org.bukkit.World world,
Random random,
int sourceX,
int sourceY,
int sourceZ)
Generates this feature.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
killPlantAbove
public boolean generate(org.bukkit.World world, Random random, int sourceX, int sourceY, int sourceZ)
TerrainObject
generate
in interface TerrainObject
world
- the world to generate inrandom
- the PRNG that will choose the size and a few details of the shapesourceX
- the base X coordinatesourceY
- the base Y coordinatesourceZ
- the base Z coordinateCopyright © 2021. All rights reserved.