Package com.plotsquared.core.generator
Class HybridGen
java.lang.Object
com.plotsquared.core.generator.IndependentPlotGenerator
com.plotsquared.core.generator.HybridGen
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generateChunk
(@NonNull ScopedQueueCoordinator result, @NonNull 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.boolean
populateChunk
(ScopedQueueCoordinator result, PlotArea settings) Populates the queue representing a chunk area with tile entities and entitiesMethods inherited from class com.plotsquared.core.generator.IndependentPlotGenerator
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
Generate chunk block data- Specified by:
generateChunk
in classIndependentPlotGenerator
- Parameters:
result
- queuesettings
- PlotArea (settings)
-
populateChunk
Description copied from class:IndependentPlotGenerator
Populates the queue representing a chunk area with tile entities and entities- Overrides:
populateChunk
in classIndependentPlotGenerator
- Parameters:
result
- Queue to write tosettings
- PlotArea (settings)- Returns:
- True if any population occurred
-
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
-