#include <mg_ore.h>
|
| OreSheet () |
|
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) |
|
◆ OreSheet()
◆ clone()
ObjDef * OreSheet::clone |
( |
| ) |
const |
|
overridevirtual |
◆ generate()
Implements Ore.
References Ore::biomes, Ore::c_ore, Ore::c_wherein, column_height_max, column_height_min, column_midpoint_factor, CONTAINS, VoxelArea::contains(), MapNode::getContent(), ObjDef::index, VoxelArea::index(), VoxelManipulator::m_area, VoxelManipulator::m_data, MYMAX, MYMIN, Ore::noise, Ore::np, Ore::nthresh, Ore::ore_param2, Noise::perlinMap2D(), PcgRandom::range(), Noise::result, and Noise::seed.
◆ column_height_max
u16 OreSheet::column_height_max |
◆ column_height_min
u16 OreSheet::column_height_min |
◆ column_midpoint_factor
float OreSheet::column_midpoint_factor |
The documentation for this class was generated from the following files: