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) 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.voidinitialize(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:IndependentPlotGeneratorGet the name of this generator.- Specified by:
getNamein classIndependentPlotGenerator- Returns:
- generator name
-
generateChunk
Description copied from class:IndependentPlotGeneratorUse 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:
generateChunkin classIndependentPlotGenerator- Parameters:
result- queuesettings- PlotArea (settings)
-
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
-