Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | List of all members
cFinishGen Class Referenceabstract

The interface that a finisher must implement Finisher implements changes to the chunk after the rough terrain has been generated. More...

#include <ComposableGenerator.h>

Inheritance diagram for cFinishGen:
Inheritance graph
[legend]

Public Member Functions

virtual void GenFinish (cChunkDesc &a_ChunkDesc)=0
 
virtual ~cFinishGen ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~cFinishGen()

virtual cFinishGen::~cFinishGen ( )
inlinevirtual

Definition at line 187 of file ComposableGenerator.h.

Member Function Documentation

◆ GenFinish()

virtual void cFinishGen::GenFinish ( cChunkDesc a_ChunkDesc)
pure virtual

The documentation for this class was generated from the following file: