public class OakTreeBrush extends FeatureGenerator
FeatureGenerator.ChunkManipulator
seed
Constructor and Description |
---|
OakTreeBrush(long seed) |
Modifier and Type | Method and Description |
---|---|
void |
generate(ChunkLocation location,
int relX,
int relZ,
GeneratorRandom random,
AtomicReferenceArray<Integer> heights,
FeatureGenerator.ChunkManipulator manipulator)
Brushes the terrain
|
seed
public OakTreeBrush(long seed)
public void generate(ChunkLocation location, int relX, int relZ, GeneratorRandom random, AtomicReferenceArray<Integer> heights, FeatureGenerator.ChunkManipulator manipulator)
FeatureGenerator
generate
in class FeatureGenerator
location
- the location of the chunk to generaterelX
- the relative chunk X of the chunkrelZ
- the relative Zrandom
- the generator randomheights
- the height array to editmanipulator
- the tool used to set block types in the chunk and to cross
chunk boundaries if neededCopyright © 2016. All rights reserved.