diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-07 13:57:51 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-07 13:57:51 +0200 |
commit | c0a73ef89d13841fa98b8541ea801cfaa817eb35 (patch) | |
tree | cfa795d9082cae65d8a03758e753cea8c1ad41fc /source/cWorld.cpp | |
parent | Grass grows under vines (diff) | |
download | cuberite-c0a73ef89d13841fa98b8541ea801cfaa817eb35.tar cuberite-c0a73ef89d13841fa98b8541ea801cfaa817eb35.tar.gz cuberite-c0a73ef89d13841fa98b8541ea801cfaa817eb35.tar.bz2 cuberite-c0a73ef89d13841fa98b8541ea801cfaa817eb35.tar.lz cuberite-c0a73ef89d13841fa98b8541ea801cfaa817eb35.tar.xz cuberite-c0a73ef89d13841fa98b8541ea801cfaa817eb35.tar.zst cuberite-c0a73ef89d13841fa98b8541ea801cfaa817eb35.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cWorld.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/cWorld.cpp b/source/cWorld.cpp index 5cb9c5f0d..7288dc303 100644 --- a/source/cWorld.cpp +++ b/source/cWorld.cpp @@ -938,6 +938,15 @@ char cWorld::GetBlockSkyLight( int a_X, int a_Y, int a_Z ) +void cWorld::GetBlockTypeMeta(int a_BlockX, int a_BlockY, int a_BlockZ, char & a_BlockType, unsigned char & a_BlockMeta)
+{
+ m_ChunkMap->GetBlockTypeMeta(a_BlockX, a_BlockY, a_BlockZ, (BLOCKTYPE &)a_BlockType, (NIBBLETYPE &)a_BlockMeta);
+}
+
+
+
+
+
void cWorld::SpawnItemPickups(const cItems & a_Pickups, double a_BlockX, double a_BlockY, double a_BlockZ, double a_FlyAwaySpeed)
{
MTRand r1;
|