#include <mg_ore.h>
|
ObjDef * | clone () const override |
|
| OreStratum () |
|
virtual | ~OreStratum () |
|
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) |
|
◆ OreStratum()
OreStratum::OreStratum |
( |
| ) |
|
|
inline |
◆ ~OreStratum()
OreStratum::~OreStratum |
( |
| ) |
|
|
virtual |
◆ clone()
ObjDef * OreStratum::clone |
( |
| ) |
const |
|
overridevirtual |
◆ generate()
Implements Ore.
References Ore::biomes, Ore::c_ore, Ore::c_wherein, Ore::clust_scarcity, CONTAINS, VoxelArea::contains(), Ore::flags, MapNode::getContent(), ObjDef::index, VoxelArea::index(), VoxelManipulator::m_area, VoxelManipulator::m_data, MYMAX, MYMIN, Ore::noise, noise_stratum_thickness, Ore::np, np_stratum_thickness, Ore::ore_param2, OREFLAG_USE_NOISE, OREFLAG_USE_NOISE2, Noise::perlinMap2D(), PcgRandom::range(), Noise::result, and stratum_thickness.
◆ noise_stratum_thickness
Noise* OreStratum::noise_stratum_thickness = nullptr |
◆ np_stratum_thickness
◆ stratum_thickness
u16 OreStratum::stratum_thickness |
The documentation for this class was generated from the following files: