diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-06-13 09:36:43 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-06-13 09:36:43 +0200 |
commit | 03c6bb9f85b929a99df2c800b8ba7d8ef4a8ec43 (patch) | |
tree | 8027076867da60f62e52362059717c94084bcfd9 /source/Chunk.h | |
parent | ProtectionAreas: Added proper ignored files (diff) | |
download | cuberite-03c6bb9f85b929a99df2c800b8ba7d8ef4a8ec43.tar cuberite-03c6bb9f85b929a99df2c800b8ba7d8ef4a8ec43.tar.gz cuberite-03c6bb9f85b929a99df2c800b8ba7d8ef4a8ec43.tar.bz2 cuberite-03c6bb9f85b929a99df2c800b8ba7d8ef4a8ec43.tar.lz cuberite-03c6bb9f85b929a99df2c800b8ba7d8ef4a8ec43.tar.xz cuberite-03c6bb9f85b929a99df2c800b8ba7d8ef4a8ec43.tar.zst cuberite-03c6bb9f85b929a99df2c800b8ba7d8ef4a8ec43.zip |
Diffstat (limited to 'source/Chunk.h')
-rw-r--r-- | source/Chunk.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/Chunk.h b/source/Chunk.h index 748227b70..07062e71b 100644 --- a/source/Chunk.h +++ b/source/Chunk.h @@ -310,6 +310,9 @@ public: cFluidSimulatorData * GetLavaSimulatorData (void) { return m_LavaSimulatorData; } cSandSimulatorChunkData & GetSandSimulatorData (void) { return m_SandSimulatorData; } + cBlockEntity * GetBlockEntity(int a_BlockX, int a_BlockY, int a_BlockZ); + cBlockEntity * GetBlockEntity(const Vector3i & a_BlockPos) { return GetBlockEntity(a_BlockPos.x, a_BlockPos.y, a_BlockPos.z); } + private: friend class cChunkMap; @@ -362,8 +365,6 @@ private: void RemoveBlockEntity(cBlockEntity * a_BlockEntity); void AddBlockEntity (cBlockEntity * a_BlockEntity); - cBlockEntity * GetBlockEntity(int a_BlockX, int a_BlockY, int a_BlockZ); - cBlockEntity * GetBlockEntity(const Vector3i & a_BlockPos) { return GetBlockEntity(a_BlockPos.x, a_BlockPos.y, a_BlockPos.z); } void SpreadLightOfBlock(NIBBLETYPE * a_LightBuffer, int a_X, int a_Y, int a_Z, char a_Falloff); |