Package com.plotsquared.core.generator
Class SingleWorldGenerator
java.lang.Object
com.plotsquared.core.generator.IndependentPlotGenerator
com.plotsquared.core.generator.SingleWorldGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
generateChunk
(ScopedQueueCoordinator result, PlotArea settings) Generate chunk block datagetName()
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
-
SingleWorldGenerator
-
-
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
Generate chunk block data- 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
-