#include <mg_ore.h>
|
ObjDef * | clone () const override |
|
| OreVein () |
|
virtual | ~OreVein () |
|
void | generate (MMVManip *vm, int mapseed, u32 blockseed, v3s16 nmin, v3s16 nmax, biome_t *biomemap) override |
|
| Ore (bool needs_noise) |
|
virtual | ~Ore () |
|
virtual void | resolveNodeNames () |
|
size_t | placeOre (Mapgen *mg, u32 blockseed, v3s16 nmin, v3s16 nmax) |
|
virtual | ~ObjDef ()=default |
|
| NodeResolver () |
|
virtual | ~NodeResolver () |
|
void | cloneTo (NodeResolver *res) const |
|
bool | getIdFromNrBacklog (content_t *result_out, const std::string &node_alt, content_t c_fallback, bool error_on_fallback=true) |
|
bool | getIdsFromNrBacklog (std::vector< content_t > *result_out, bool all_required=false, content_t c_fallback=CONTENT_IGNORE) |
|
bool | isResolveDone () const |
|
void | reset (bool resolve_done=false) |
|
◆ OreVein()
◆ ~OreVein()
◆ clone()
ObjDef * OreVein::clone |
( |
| ) |
const |
|
overridevirtual |
◆ generate()
Implements Ore.
References Ore::biomes, Ore::c_ore, Ore::c_wherein, CONTAINS, VoxelArea::contains(), contour(), MapNode::getContent(), ObjDef::index, VoxelArea::index(), VoxelManipulator::m_area, VoxelManipulator::m_data, PcgRandom::next(), Ore::noise, noise2, Ore::np, Ore::nthresh, Ore::ore_param2, Noise::perlinMap3D(), random_factor, PcgRandom::RANDOM_RANGE, Noise::result, and sizey_prev.
◆ noise2
Noise* OreVein::noise2 = nullptr |
◆ random_factor
float OreVein::random_factor |
◆ sizey_prev
int OreVein::sizey_prev = 0 |
The documentation for this class was generated from the following files: