Package com.plotsquared.bukkit.generator
Class BukkitPlotGenerator
java.lang.Object
org.bukkit.generator.ChunkGenerator
com.plotsquared.bukkit.generator.BukkitPlotGenerator
- All Implemented Interfaces:
com.plotsquared.core.generator.GeneratorWrapper<ChunkGenerator>
public class BukkitPlotGenerator
extends ChunkGenerator
implements com.plotsquared.core.generator.GeneratorWrapper<ChunkGenerator>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.generator.ChunkGenerator
ChunkGenerator.BiomeGrid, ChunkGenerator.ChunkData -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBukkitPlotGenerator(@NonNull String name, @NonNull com.plotsquared.core.generator.IndependentPlotGenerator generator, @NonNull com.plotsquared.core.plot.world.PlotAreaManager plotAreaManager) BukkitPlotGenerator(String world, ChunkGenerator cg, @NonNull com.plotsquared.core.plot.world.PlotAreaManager plotAreaManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidaugment(com.plotsquared.core.plot.PlotArea area) booleanbooleangenerateChunkData(@NonNull World world, @NonNull Random random, int x, int z, @NonNull ChunkGenerator.BiomeGrid biome) getDefaultPopulators(@NonNull World world) com.plotsquared.core.generator.IndependentPlotGeneratorbooleanisFull()booleanbooleanbooleanbooleanbooleantoString()Methods inherited from class org.bukkit.generator.ChunkGenerator
createChunkData, createVanillaChunkData, generateBedrock, generateCaves, generateNoise, generateSurface, getBaseHeight, getDefaultBiomeProvider, getFixedSpawnLocation, shouldGenerateBedrock, shouldGenerateNoise, shouldGenerateSurface
-
Field Details
-
PAPER_ASYNC_SAFE
public final boolean PAPER_ASYNC_SAFE- See Also:
-
-
Constructor Details
-
BukkitPlotGenerator
-
BukkitPlotGenerator
public BukkitPlotGenerator(String world, ChunkGenerator cg, @NonNull com.plotsquared.core.plot.world.PlotAreaManager plotAreaManager)
-
-
Method Details
-
augment
public void augment(com.plotsquared.core.plot.PlotArea area) - Specified by:
augmentin interfacecom.plotsquared.core.generator.GeneratorWrapper<ChunkGenerator>
-
isFull
public boolean isFull()- Specified by:
isFullin interfacecom.plotsquared.core.generator.GeneratorWrapper<ChunkGenerator>
-
getPlotGenerator
public com.plotsquared.core.generator.IndependentPlotGenerator getPlotGenerator()- Specified by:
getPlotGeneratorin interfacecom.plotsquared.core.generator.GeneratorWrapper<ChunkGenerator>
-
getPlatformGenerator
- Specified by:
getPlatformGeneratorin interfacecom.plotsquared.core.generator.GeneratorWrapper<ChunkGenerator>
-
getDefaultPopulators
- Overrides:
getDefaultPopulatorsin classChunkGenerator
-
generateChunkData
public @NonNull ChunkGenerator.ChunkData generateChunkData(@NonNull World world, @NonNull Random random, int x, int z, @NonNull ChunkGenerator.BiomeGrid biome) - Overrides:
generateChunkDatain classChunkGenerator
-
canSpawn
- Overrides:
canSpawnin classChunkGenerator
-
shouldGenerateCaves
public boolean shouldGenerateCaves()- Overrides:
shouldGenerateCavesin classChunkGenerator
-
shouldGenerateDecorations
public boolean shouldGenerateDecorations()- Overrides:
shouldGenerateDecorationsin classChunkGenerator
-
isParallelCapable
public boolean isParallelCapable()- Overrides:
isParallelCapablein classChunkGenerator
-
shouldGenerateMobs
public boolean shouldGenerateMobs()- Overrides:
shouldGenerateMobsin classChunkGenerator
-
shouldGenerateStructures
public boolean shouldGenerateStructures()- Overrides:
shouldGenerateStructuresin classChunkGenerator
-
toString
- Specified by:
toStringin interfacecom.plotsquared.core.generator.GeneratorWrapper<ChunkGenerator>- Overrides:
toStringin classObject
-
equals
- Specified by:
equalsin interfacecom.plotsquared.core.generator.GeneratorWrapper<ChunkGenerator>- Overrides:
equalsin classObject
-
getLevelName
-