summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-04-15 09:37:36 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-04-15 09:37:36 +0200
commit60b5f4b66be2252460eecae5da08010c5b6b02f5 (patch)
tree236ea0d7116baf975a75df11f59b1b3421515832 /source
parentMoved the commands /coords /viewdistance and /regeneratechunks from cServer.cpp to the Core plugin (diff)
downloadcuberite-60b5f4b66be2252460eecae5da08010c5b6b02f5.tar
cuberite-60b5f4b66be2252460eecae5da08010c5b6b02f5.tar.gz
cuberite-60b5f4b66be2252460eecae5da08010c5b6b02f5.tar.bz2
cuberite-60b5f4b66be2252460eecae5da08010c5b6b02f5.tar.lz
cuberite-60b5f4b66be2252460eecae5da08010c5b6b02f5.tar.xz
cuberite-60b5f4b66be2252460eecae5da08010c5b6b02f5.tar.zst
cuberite-60b5f4b66be2252460eecae5da08010c5b6b02f5.zip
Diffstat (limited to 'source')
-rw-r--r--source/cWorldGenerator.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/cWorldGenerator.cpp b/source/cWorldGenerator.cpp
index 19dc7835a..cdb3951b8 100644
--- a/source/cWorldGenerator.cpp
+++ b/source/cWorldGenerator.cpp
@@ -60,6 +60,10 @@ const int MAX_HEIGHT_DIAMOND = 16;
const int NUM_NESTS_DIAMOND = 6;
const int NEST_SIZE_DIAMOND = 5;
+const int MAX_HEIGHT_LAPIS = 16;
+const int NUM_NESTS_LAPIS = 6;
+const int NEST_SIZE_LAPIS = 5;
+
@@ -321,6 +325,7 @@ void cWorldGenerator::GenerateTerrain(int a_ChunkX, int a_ChunkY, int a_ChunkZ,
GenerateOre(E_BLOCK_REDSTONE_ORE, MAX_HEIGHT_REDSTONE, NUM_NESTS_REDSTONE, NEST_SIZE_REDSTONE, a_BlockData);
GenerateOre(E_BLOCK_GOLD_ORE, MAX_HEIGHT_GOLD, NUM_NESTS_GOLD, NEST_SIZE_GOLD, a_BlockData);
GenerateOre(E_BLOCK_DIAMOND_ORE, MAX_HEIGHT_DIAMOND, NUM_NESTS_DIAMOND, NEST_SIZE_DIAMOND, a_BlockData);
+ GenerateOre(E_BLOCK_LAPIS_ORE, MAX_HEIGHT_LAPIS, NUM_NESTS_LAPIS, NEST_SIZE_LAPIS, a_BlockData);
}