Interface GenerationPass

All Known Subinterfaces:
BiomeMap, Decorator, DensitySource, Finisher, Populator
All Known Implementing Classes:
AbstractGenerationPass, AbstractPlantPopulator, AbstractReplacingPopulator, AbstractTreePopulator, BedrockDecorator, BlobPopulator, BushPopulator, CachingBiomeMap, ChancePopulator, ChancePopulator.Column, CocoaPopulator, ComplexBiomeMap, ConstantBiomeMap, DeepSurfaceDecorator, DepthNoiseDecorator, DistanceSelectionDecorator, DistanceSelectionPopulator, DoublePlantPopulator, EndDensitySource, EndIslandPopulator, GlowstonePopulator, GroundCoverDecorator, HeightSelectionDecorator, HugeTreePopulator, IceSnowFinisher, LakePopulator, MesaSurfaceDecorator, NetherDensitySource, NextGenerationPass, NoiseSelectionDecorator, NoiseSelectionPopulator, OrePopulator, PlantPopulator, ReplaceTopDecorator, ScatteredCoverDecorator, ShrubPopulator, SpikesPopulator, SpringPopulator, SubmergedOrePopulator, SurfaceDecorator, TreePopulator, VanillaDensitySource

public interface GenerationPass
Implemented by every interface representing a single pass during world generation or population.
Author:
DaPorkchop_
  • Method Summary

    Modifier and Type
    Method
    Description
    org.cloudburstmc.api.util.Identifier
     
    default void
    init​(long levelSeed, long localSeed, StandardGenerator generator)
    Prepares this instance for actual generation.
  • Method Details

    • init

      default void init(long levelSeed, long localSeed, StandardGenerator generator)
      Prepares this instance for actual generation.
      Parameters:
      levelSeed - the level seed, as defined in cloudburst.yml
      localSeed - a seed defined specifically for this generation pass
      generator - the instance of StandardGenerator that this generation pass will be used by
    • getId

      org.cloudburstmc.api.util.Identifier getId()
      Returns:
      the identifier of this generation pass