Package com.plotsquared.core.generator
Class HybridGen
java.lang.Object
com.plotsquared.core.generator.IndependentPlotGenerator
com.plotsquared.core.generator.HybridGen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
generateChunk(@NonNull ScopedQueueCoordinator result, @NonNull PlotArea settings)
Use the setBlock or setBiome method of the PlotChunk result parameter to make changes.getName()
Get the name of this generator.getNewPlotArea(String world, String id, PlotId min, PlotId max)
Return a new PlotArea object.void
initialize(PlotArea area)
It is preferred for the PlotArea object to do most of the initialization necessary.Methods inherited from class com.plotsquared.core.generator.IndependentPlotGenerator
populateChunk, processAreaSetup, specify, toString
-
Constructor Details
-
HybridGen
-
-
Method Details
-
getName
Description copied from class:IndependentPlotGenerator
Get the name of this generator.- Specified by:
getName
in classIndependentPlotGenerator
- Returns:
- generator name
-
generateChunk
Description copied from class:IndependentPlotGenerator
Use the setBlock or setBiome method of the PlotChunk result parameter to make changes. The PlotArea settings is the same one this was initialized with. The PseudoRandom random is a fast random object.- Specified by:
generateChunk
in classIndependentPlotGenerator
- Parameters:
result
- queuesettings
- PlotArea (settings)
-
getNewPlotArea
Description copied from class:IndependentPlotGenerator
Return a new PlotArea object.- Specified by:
getNewPlotArea
in classIndependentPlotGenerator
- Parameters:
world
- world nameid
- (May be null) Area namemin
- Min plot id (may be null)max
- Max plot id (may be null)- Returns:
- new plot area
-
initialize
Description copied from class:IndependentPlotGenerator
It is preferred for the PlotArea object to do most of the initialization necessary.- Specified by:
initialize
in classIndependentPlotGenerator
- Parameters:
area
- area
-