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 TypeMethodDescriptionvoidgenerateChunk(@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.voidinitialize(PlotArea area) It is preferred for the PlotArea object to do most of the initialization necessary.booleanpopulateChunk(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:IndependentPlotGeneratorGet the name of this generator.- Specified by:
getNamein classIndependentPlotGenerator- Returns:
- generator name
-
generateChunk
Description copied from class:IndependentPlotGeneratorGenerate chunk block data- Specified by:
generateChunkin classIndependentPlotGenerator- Parameters:
result- queuesettings- PlotArea (settings)
-
populateChunk
Description copied from class:IndependentPlotGeneratorPopulates the queue representing a chunk area with tile entities and entities- Overrides:
populateChunkin classIndependentPlotGenerator- Parameters:
result- Queue to write tosettings- PlotArea (settings)- Returns:
- True if any population occurred
-
getNewPlotArea
Description copied from class:IndependentPlotGeneratorReturn a new PlotArea object.- Specified by:
getNewPlotAreain 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:IndependentPlotGeneratorIt is preferred for the PlotArea object to do most of the initialization necessary.- Specified by:
initializein classIndependentPlotGenerator- Parameters:
area- area
-