Class LargeBiomesGenerator
java.lang.Object
org.bukkit.generator.ChunkGenerator
ua.mcchickenstudio.opencreative.utils.world.generators.WorldGenerator
ua.mcchickenstudio.opencreative.utils.world.generators.LargeBiomesGenerator
- All Implemented Interfaces:
ExtensionContent
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.generator.ChunkGenerator
org.bukkit.generator.ChunkGenerator.BiomeGrid, org.bukkit.generator.ChunkGenerator.ChunkData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterCreation(@NotNull org.bukkit.World world) Executes world operations, when it's created or loaded.booleancanSpawn(@NotNull org.bukkit.World world, int x, int z) @NotNull StringReturns description of extension content.@NotNull StringReturns lower-cased simple id of extension.@NotNull org.bukkit.LocationgetFixedSpawnLocation(@NotNull org.bukkit.World world, @NotNull Random random) voidmodifyWorldCreator(@NotNull org.bukkit.WorldCreator creator, @NotNull String biome) Changes world creator before creating or loading world.booleanbooleanbooleanbooleanbooleanbooleanMethods inherited from class ua.mcchickenstudio.opencreative.utils.world.generators.WorldGenerator
getDisplayIcon, getID, getLocaleName, getNameMethods inherited from class org.bukkit.generator.ChunkGenerator
createChunkData, generateBedrock, generateCaves, generateChunkData, generateNoise, generateSurface, getBaseHeight, getDefaultBiomeProvider, getDefaultPopulators, isParallelCapable, shouldGenerateBedrock, shouldGenerateCaves, shouldGenerateDecorations, shouldGenerateMobs, shouldGenerateNoise, shouldGenerateStructures, shouldGenerateSurface
-
Constructor Details
-
LargeBiomesGenerator
public LargeBiomesGenerator()
-
-
Method Details
-
modifyWorldCreator
public void modifyWorldCreator(@NotNull @NotNull org.bukkit.WorldCreator creator, @NotNull @NotNull String biome) Description copied from class:WorldGeneratorChanges world creator before creating or loading world. Useful to set generator as itself, if it overridesgenerateSurfacemethod.- Specified by:
modifyWorldCreatorin classWorldGenerator- Parameters:
creator- creator to change.biome- selected biome.
-
getFixedSpawnLocation
@NotNull public @NotNull org.bukkit.Location getFixedSpawnLocation(@NotNull @NotNull org.bukkit.World world, @NotNull @NotNull Random random) - Overrides:
getFixedSpawnLocationin classorg.bukkit.generator.ChunkGenerator
-
canSpawn
public boolean canSpawn(@NotNull @NotNull org.bukkit.World world, int x, int z) - Overrides:
canSpawnin classorg.bukkit.generator.ChunkGenerator
-
shouldGenerateSurface
public boolean shouldGenerateSurface()- Overrides:
shouldGenerateSurfacein classorg.bukkit.generator.ChunkGenerator
-
shouldGenerateStructures
public boolean shouldGenerateStructures()- Overrides:
shouldGenerateStructuresin classorg.bukkit.generator.ChunkGenerator
-
shouldGenerateMobs
public boolean shouldGenerateMobs()- Overrides:
shouldGenerateMobsin classorg.bukkit.generator.ChunkGenerator
-
shouldGenerateDecorations
public boolean shouldGenerateDecorations()- Overrides:
shouldGenerateDecorationsin classorg.bukkit.generator.ChunkGenerator
-
shouldGenerateNoise
public boolean shouldGenerateNoise()- Overrides:
shouldGenerateNoisein classorg.bukkit.generator.ChunkGenerator
-
shouldGenerateCaves
public boolean shouldGenerateCaves()- Overrides:
shouldGenerateCavesin classorg.bukkit.generator.ChunkGenerator
-
afterCreation
public void afterCreation(@NotNull @NotNull org.bukkit.World world) Description copied from class:WorldGeneratorExecutes world operations, when it's created or loaded.- Specified by:
afterCreationin classWorldGenerator- Parameters:
world- world to execute code in it.
-
getExtensionId
Description copied from interface:ExtensionContentReturns lower-cased simple id of extension. Will be used to identify author of content.ID "default" is reserved for OpenCreative+ developers.
- Returns:
- id of extension.
-
getDescription
Description copied from interface:ExtensionContentReturns description of extension content. Describes purpose of new additional content.- Returns:
- description of content.
-