summaryrefslogtreecommitdiffstats
path: root/source/World.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-20 21:53:29 +0100
committermadmaxoft <github@xoft.cz>2013-11-20 21:53:29 +0100
commita5c2d639c612031331a668a483339f3025c7041f (patch)
tree8268a6d541765ca1ac681344f4d5c37c80740674 /source/World.cpp
parentIgnoring SDF files. (diff)
downloadcuberite-a5c2d639c612031331a668a483339f3025c7041f.tar
cuberite-a5c2d639c612031331a668a483339f3025c7041f.tar.gz
cuberite-a5c2d639c612031331a668a483339f3025c7041f.tar.bz2
cuberite-a5c2d639c612031331a668a483339f3025c7041f.tar.lz
cuberite-a5c2d639c612031331a668a483339f3025c7041f.tar.xz
cuberite-a5c2d639c612031331a668a483339f3025c7041f.tar.zst
cuberite-a5c2d639c612031331a668a483339f3025c7041f.zip
Diffstat (limited to '')
-rw-r--r--source/World.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/source/World.cpp b/source/World.cpp
index 0f9df8a62..531952e37 100644
--- a/source/World.cpp
+++ b/source/World.cpp
@@ -922,6 +922,15 @@ void cWorld::WakeUpSimulatorsInArea(int a_MinBlockX, int a_MaxBlockX, int a_MinB
+bool cWorld::ForEachBlockEntityInChunk(int a_ChunkX, int a_ChunkZ, cBlockEntityCallback & a_Callback)
+{
+ return m_ChunkMap->ForEachBlockEntityInChunk(a_ChunkX, a_ChunkZ, a_Callback);
+}
+
+
+
+
+
bool cWorld::ForEachChestInChunk(int a_ChunkX, int a_ChunkZ, cChestCallback & a_Callback)
{
return m_ChunkMap->ForEachChestInChunk(a_ChunkX, a_ChunkZ, a_Callback);
@@ -1010,6 +1019,15 @@ void cWorld::DoExplosionAt(double a_ExplosionSize, double a_BlockX, double a_Blo
+bool cWorld::DoWithBlockEntityAt(int a_BlockX, int a_BlockY, int a_BlockZ, cBlockEntityCallback & a_Callback)
+{
+ return m_ChunkMap->DoWithBlockEntityAt(a_BlockX, a_BlockY, a_BlockZ, a_Callback);
+}
+
+
+
+
+
bool cWorld::DoWithChestAt(int a_BlockX, int a_BlockY, int a_BlockZ, cChestCallback & a_Callback)
{
return m_ChunkMap->DoWithChestAt(a_BlockX, a_BlockY, a_BlockZ, a_Callback);