This class is for getting the actual properties of nodes from their content ID.
Definition nodedef.h:541
Definition servermap.h:44
core::vector3d< s16 > v3s16
Definition irr_v3d.h:13
#define CONTENT_IGNORE
Definition mapnode.h:58
Definition mg_decoration.h:19
void make_tree(MMVManip &vmanip, v3s16 p0, bool is_apple_tree, const NodeDefManager *ndef, s32 seed)
Definition treegen.cpp:47
void make_jungletree(MMVManip &vmanip, v3s16 p0, const NodeDefManager *ndef, s32 seed)
Definition treegen.cpp:646
void make_pine_tree(MMVManip &vmanip, v3s16 p0, const NodeDefManager *ndef, s32 seed)
Definition treegen.cpp:750
error
Definition treegen.h:20
@ SUCCESS
Definition treegen.h:21
@ UNBALANCED_BRACKETS
Definition treegen.h:22
treegen::error make_ltree(MMVManip &vmanip, v3s16 p0, const TreeDef &tree_definition)
Definition treegen.cpp:156
treegen::error spawn_ltree(ServerMap *map, v3s16 p0, const TreeDef &tree_definition)
Definition treegen.cpp:133
int iterations
Definition treegen.h:47
virtual void resolveNodeNames()
Definition treegen.cpp:20
int fruit_chance
Definition treegen.h:52
int leaves2_chance
Definition treegen.h:45
TreeDef()
Definition treegen.h:26
std::string trunk_type
Definition treegen.h:49
MapNode leavesnode
Definition treegen.h:42
MapNode fruitnode
Definition treegen.h:51
std::string initial_axiom
Definition treegen.h:35
std::string rules_b
Definition treegen.h:37
std::string rules_c
Definition treegen.h:38
bool thin_branches
Definition treegen.h:50
int angle
Definition treegen.h:46
bool explicit_seed
Definition treegen.h:54
MapNode leaves2node
Definition treegen.h:43
s32 seed
Definition treegen.h:53
MapNode trunknode
Definition treegen.h:41
std::string rules_a
Definition treegen.h:36
int iterations_random_level
Definition treegen.h:48
std::string rules_d
Definition treegen.h:39