i = CONTENT_STONE;
f = nodemgr->getModifiable(i);
+ f->name = "stone";
f->setAllTextures("stone.png");
f->setInventoryTextureCube("stone.png", "stone.png", "stone.png");
f->param_type = CPT_MINERAL;
i = CONTENT_GRASS;
f = nodemgr->getModifiable(i);
+ f->name = "grass";
f->setAllTextures("mud.png^grass_side.png");
f->setTexture(0, "grass.png");
f->setTexture(1, "mud.png");
i = CONTENT_GRASS_FOOTSTEPS;
f = nodemgr->getModifiable(i);
+ f->name = "grass_footsteps";
f->setAllTextures("mud.png^grass_side.png");
f->setTexture(0, "grass_footsteps.png");
f->setTexture(1, "mud.png");
i = CONTENT_MUD;
f = nodemgr->getModifiable(i);
+ f->name = "dirt";
f->setAllTextures("mud.png");
f->setInventoryTextureCube("mud.png", "mud.png", "mud.png");
f->param_type = CPT_MINERAL;
i = CONTENT_SAND;
f = nodemgr->getModifiable(i);
+ f->name = "sand";
f->setAllTextures("sand.png");
f->setInventoryTextureCube("sand.png", "sand.png", "sand.png");
f->param_type = CPT_MINERAL;
i = CONTENT_GRAVEL;
f = nodemgr->getModifiable(i);
+ f->name = "gravel";
f->setAllTextures("gravel.png");
f->setInventoryTextureCube("gravel.png", "gravel.png", "gravel.png");
f->param_type = CPT_MINERAL;
i = CONTENT_SANDSTONE;
f = nodemgr->getModifiable(i);
+ f->name = "sandstone";
f->setAllTextures("sandstone.png");
f->setInventoryTextureCube("sandstone.png", "sandstone.png", "sandstone.png");
f->param_type = CPT_MINERAL;
i = CONTENT_CLAY;
f = nodemgr->getModifiable(i);
+ f->name = "clay";
f->setAllTextures("clay.png");
f->setInventoryTextureCube("clay.png", "clay.png", "clay.png");
f->param_type = CPT_MINERAL;
i = CONTENT_BRICK;
f = nodemgr->getModifiable(i);
+ f->name = "brick";
f->setAllTextures("brick.png");
f->setInventoryTextureCube("brick.png", "brick.png", "brick.png");
f->param_type = CPT_MINERAL;
i = CONTENT_TREE;
f = nodemgr->getModifiable(i);
+ f->name = "tree";
f->setAllTextures("tree.png");
f->setTexture(0, "tree_top.png");
f->setTexture(1, "tree_top.png");
i = CONTENT_JUNGLETREE;
f = nodemgr->getModifiable(i);
+ f->name = "jungletree";
f->setAllTextures("jungletree.png");
f->setTexture(0, "jungletree_top.png");
f->setTexture(1, "jungletree_top.png");
i = CONTENT_JUNGLEGRASS;
f = nodemgr->getModifiable(i);
+ f->name = "junglegrass";
f->drawtype = NDT_PLANTLIKE;
f->visual_scale = 1.3;
f->setAllTextures("junglegrass.png");
i = CONTENT_LEAVES;
f = nodemgr->getModifiable(i);
+ f->name = "leaves";
f->drawtype = NDT_ALLFACES_OPTIONAL;
f->setAllTextures("leaves.png");
//f->setAllTextures("[noalpha:leaves.png");
i = CONTENT_CACTUS;
f = nodemgr->getModifiable(i);
+ f->name = "cactus";
f->setAllTextures("cactus_side.png");
f->setTexture(0, "cactus_top.png");
f->setTexture(1, "cactus_top.png");
i = CONTENT_PAPYRUS;
f = nodemgr->getModifiable(i);
+ f->name = "papyrus";
f->drawtype = NDT_PLANTLIKE;
f->setAllTextures("papyrus.png");
f->setInventoryTexture("papyrus.png");
i = CONTENT_BOOKSHELF;
f = nodemgr->getModifiable(i);
+ f->name = "bookshelf";
f->setAllTextures("bookshelf.png");
f->setTexture(0, "wood.png");
f->setTexture(1, "wood.png");
i = CONTENT_GLASS;
f = nodemgr->getModifiable(i);
+ f->name = "glass";
f->drawtype = NDT_GLASSLIKE;
f->setAllTextures("glass.png");
f->light_propagates = true;
i = CONTENT_FENCE;
f = nodemgr->getModifiable(i);
+ f->name = "fence";
f->drawtype = NDT_FENCELIKE;
f->setInventoryTexture("fence.png");
f->setTexture(0, "wood.png");
i = CONTENT_RAIL;
f = nodemgr->getModifiable(i);
+ f->name = "rail";
f->drawtype = NDT_RAILLIKE;
f->setInventoryTexture("rail.png");
f->setTexture(0, "rail.png");
i = CONTENT_LADDER;
f = nodemgr->getModifiable(i);
+ f->name = "ladder";
f->drawtype = NDT_SIGNLIKE;
f->setAllTextures("ladder.png");
f->setInventoryTexture("ladder.png");
// Deprecated
i = CONTENT_COALSTONE;
f = nodemgr->getModifiable(i);
+ f->name = "coalstone";
f->setAllTextures("stone.png^mineral_coal.png");
f->is_ground_content = true;
setStoneLikeMaterialProperties(f->material, 1.5);
i = CONTENT_WOOD;
f = nodemgr->getModifiable(i);
+ f->name = "wood";
f->setAllTextures("wood.png");
f->setInventoryTextureCube("wood.png", "wood.png", "wood.png");
f->is_ground_content = true;
i = CONTENT_MESE;
f = nodemgr->getModifiable(i);
+ f->name = "mese";
f->setAllTextures("mese.png");
f->setInventoryTextureCube("mese.png", "mese.png", "mese.png");
f->is_ground_content = true;
i = CONTENT_CLOUD;
f = nodemgr->getModifiable(i);
+ f->name = "cloud";
f->setAllTextures("cloud.png");
f->setInventoryTextureCube("cloud.png", "cloud.png", "cloud.png");
f->is_ground_content = true;
i = CONTENT_AIR;
f = nodemgr->getModifiable(i);
+ f->name = "air";
f->param_type = CPT_LIGHT;
f->light_propagates = true;
f->sunlight_propagates = true;
i = CONTENT_WATER;
f = nodemgr->getModifiable(i);
+ f->name = "water_flowing";
f->drawtype = NDT_FLOWINGLIQUID;
f->setAllTextures("water.png");
f->alpha = WATER_ALPHA;
i = CONTENT_WATERSOURCE;
f = nodemgr->getModifiable(i);
+ f->name = "water_source";
f->drawtype = NDT_LIQUID;
f->setAllTextures("water.png");
f->alpha = WATER_ALPHA;
i = CONTENT_LAVA;
f = nodemgr->getModifiable(i);
+ f->name = "lava_flowing";
f->drawtype = NDT_FLOWINGLIQUID;
f->setAllTextures("lava.png");
f->setInventoryTextureCube("lava.png", "lava.png", "lava.png");
i = CONTENT_LAVASOURCE;
f = nodemgr->getModifiable(i);
+ f->name = "lava_source";
f->drawtype = NDT_LIQUID;
f->setAllTextures("lava.png");
f->setInventoryTextureCube("lava.png", "lava.png", "lava.png");
i = CONTENT_TORCH;
f = nodemgr->getModifiable(i);
+ f->name = "torch";
f->drawtype = NDT_TORCHLIKE;
f->setTexture(0, "torch_on_floor.png");
f->setTexture(1, "torch_on_ceiling.png");
i = CONTENT_SIGN_WALL;
f = nodemgr->getModifiable(i);
+ f->name = "sign_wall";
f->drawtype = NDT_SIGNLIKE;
f->setAllTextures("sign_wall.png");
f->setInventoryTexture("sign_wall.png");
i = CONTENT_CHEST;
f = nodemgr->getModifiable(i);
+ f->name = "chest";
f->param_type = CPT_FACEDIR_SIMPLE;
f->setAllTextures("chest_side.png");
f->setTexture(0, "chest_top.png");
i = CONTENT_LOCKABLE_CHEST;
f = nodemgr->getModifiable(i);
+ f->name = "locked_chest";
f->param_type = CPT_FACEDIR_SIMPLE;
f->setAllTextures("chest_side.png");
f->setTexture(0, "chest_top.png");
i = CONTENT_FURNACE;
f = nodemgr->getModifiable(i);
+ f->name = "furnace";
f->param_type = CPT_FACEDIR_SIMPLE;
f->setAllTextures("furnace_side.png");
f->setTexture(5, "furnace_front.png"); // Z-
i = CONTENT_COBBLE;
f = nodemgr->getModifiable(i);
+ f->name = "cobble";
f->setAllTextures("cobble.png");
f->setInventoryTextureCube("cobble.png", "cobble.png", "cobble.png");
f->param_type = CPT_NONE;
i = CONTENT_MOSSYCOBBLE;
f = nodemgr->getModifiable(i);
+ f->name = "mossycobble";
f->setAllTextures("mossycobble.png");
f->setInventoryTextureCube("mossycobble.png", "mossycobble.png", "mossycobble.png");
f->param_type = CPT_NONE;
i = CONTENT_STEEL;
f = nodemgr->getModifiable(i);
+ f->name = "steelblock";
f->setAllTextures("steel_block.png");
f->setInventoryTextureCube("steel_block.png", "steel_block.png",
"steel_block.png");
i = CONTENT_NC;
f = nodemgr->getModifiable(i);
+ f->name = "nyancat";
f->param_type = CPT_FACEDIR_SIMPLE;
f->setAllTextures("nc_side.png");
f->setTexture(5, "nc_front.png"); // Z-
i = CONTENT_NC_RB;
f = nodemgr->getModifiable(i);
+ f->name = "nyancat_rainbow";
f->setAllTextures("nc_rb.png");
f->setInventoryTexture("nc_rb.png");
f->dug_item = std::string("MaterialItem2 ")+itos(i)+" 1";
i = CONTENT_SAPLING;
f = nodemgr->getModifiable(i);
+ f->name = "sapling";
f->drawtype = NDT_PLANTLIKE;
f->visual_scale = 1.0;
f->setAllTextures("sapling.png");
i = CONTENT_APPLE;
f = nodemgr->getModifiable(i);
+ f->name = "apple";
f->drawtype = NDT_PLANTLIKE;
f->visual_scale = 1.0;
f->setAllTextures("apple.png");