#include <mg_ore.h>
|
| OreScatter () |
|
ObjDef * | clone () const override |
|
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) |
|
◆ OreScatter()
OreScatter::OreScatter |
( |
| ) |
|
|
inline |
◆ clone()
ObjDef * OreScatter::clone |
( |
| ) |
const |
|
overridevirtual |
◆ generate()
Implements Ore.
References Ore::biomes, Ore::c_ore, Ore::c_wherein, Ore::clust_num_ores, Ore::clust_scarcity, Ore::clust_size, CONTAINS, Ore::flags, MapNode::getContent(), ObjDef::index, VoxelArea::index(), VoxelManipulator::m_area, VoxelManipulator::m_data, NoisePerlin3D(), Ore::np, Ore::nthresh, Ore::ore_param2, OREFLAG_USE_NOISE, and PcgRandom::range().
The documentation for this class was generated from the following files: