Cuberite
A lightweight, fast and extensible game server for Minecraft
|
The interface that a finisher must implement Finisher implements changes to the chunk after the rough terrain has been generated. More...
#include <ComposableGenerator.h>
Public Member Functions | |
virtual void | GenFinish (cChunkDesc &a_ChunkDesc)=0 |
virtual | ~cFinishGen () |
The interface that a finisher must implement Finisher implements changes to the chunk after the rough terrain has been generated.
Examples of finishers are trees, snow, ore, lilypads and others. Note that a worldgenerator may contain multiple finishers, chained one after another. Also note that previously we used to distinguish between a structuregen and a finisher; this distinction is no longer relevant, all structure generators are considered finishers now (#398)
Definition at line 184 of file ComposableGenerator.h.
|
inlinevirtual |
Definition at line 187 of file ComposableGenerator.h.
|
pure virtual |
Implemented in cStructGenDistortedMembraneOverhangs, cStructGenDirectOverhangs, cStructGenLakes, cStructGenTrees, cSinglePieceStructuresGen, cPieceStructuresGen, cGridStructGen, cFinishGenForestRocks, cFinishGenOres, cFinishGenPassiveMobs, cFinishGenFluidSprings, cFinishGenPreSimulator, cFinishGenBottomLava, cFinishGenSingleTopBlock, cFinishGenSprinkleFoliage, cFinishGenSoulsandRims, cFinishGenVines, cFinishGenTallGrass, cFinishGenGlowStone, cFinishGenClumpTopBlock, cFinishGenNetherClumpFoliage, cFinishGenIce, cFinishGenSnow, cEnderDragonFightStructuresGen, cStructGenDualRidgeCaves, and cStructGenMarbleCaves.