![]() |
Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <FinishGen.h>
Public Member Functions | |
cFinishGenFluidSprings (int a_Seed, BLOCKTYPE a_Fluid, cIniFile &a_IniFile, eDimension a_Dimension) | |
![]() | |
virtual | ~cFinishGen () |
Protected Member Functions | |
virtual void | GenFinish (cChunkDesc &a_ChunkDesc) override |
bool | TryPlaceSpring (cChunkDesc &a_ChunkDesc, int x, int y, int z) |
Tries to place a spring at the specified coords, checks neighbors. More... | |
Protected Attributes | |
int | m_Chance |
Chance, [0..100], that a spring will be generated in a chunk. More... | |
BLOCKTYPE | m_Fluid |
cProbabDistrib | m_HeightDistribution |
cNoise | m_Noise |
Definition at line 426 of file FinishGen.h.
cFinishGenFluidSprings::cFinishGenFluidSprings | ( | int | a_Seed, |
BLOCKTYPE | a_Fluid, | ||
cIniFile & | a_IniFile, | ||
eDimension | a_Dimension | ||
) |
Definition at line 1283 of file FinishGen.cpp.
|
overrideprotectedvirtual |
Implements cFinishGen.
Definition at line 1334 of file FinishGen.cpp.
|
protected |
Tries to place a spring at the specified coords, checks neighbors.
Returns true if successful.
Definition at line 1377 of file FinishGen.cpp.
|
protected |
Chance, [0..100], that a spring will be generated in a chunk.
Definition at line 437 of file FinishGen.h.
|
protected |
Definition at line 436 of file FinishGen.h.
|
protected |
Definition at line 435 of file FinishGen.h.
|
protected |
Definition at line 434 of file FinishGen.h.