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 ZeroedDelegateScopedQueueCoordinator result, @NonNull PlotArea settings, boolean biomes) Generate chunk block dataGet the biome to be generated at a specific pointgetName()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.voidpopulateChunk(ZeroedDelegateScopedQueueCoordinator result, PlotArea settings) Populate a chunk-queue with tile entities, entities, etc.Methods 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
public void generateChunk(@NonNull ZeroedDelegateScopedQueueCoordinator result, @NonNull PlotArea settings, boolean biomes) Description copied from class:IndependentPlotGeneratorGenerate chunk block data- Specified by:
generateChunkin classIndependentPlotGenerator- Parameters:
result- Queue to write tosettings- PlotArea (settings)biomes- If biomes should be generated
-
populateChunk
Description copied from class:IndependentPlotGeneratorPopulate a chunk-queue with tile entities, entities, etc.- Overrides:
populateChunkin classIndependentPlotGenerator- Parameters:
result- Queue to write tosettings- 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
-
getBiome
Description copied from class:IndependentPlotGeneratorGet the biome to be generated at a specific point- Specified by:
getBiomein classIndependentPlotGenerator- Parameters:
settings- PlotArea settings to provide biomeworldX- World x positionworldY- World y positionworldZ- World z position- Returns:
- Biome type to be generated
-