summaryrefslogtreecommitdiffstats
path: root/source/ChunkMap.h
diff options
context:
space:
mode:
authorkeyboard.osh@gmail.com <keyboard.osh@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-04 08:25:58 +0200
committerkeyboard.osh@gmail.com <keyboard.osh@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-04 08:25:58 +0200
commitc1e6fb454fc6d9e15e93665c9184503c0af6021f (patch)
treecbbc2d4e25b67250db5d5ae871f0772032dd30d2 /source/ChunkMap.h
parentAdded lots of new options in the world config tab. (diff)
downloadcuberite-c1e6fb454fc6d9e15e93665c9184503c0af6021f.tar
cuberite-c1e6fb454fc6d9e15e93665c9184503c0af6021f.tar.gz
cuberite-c1e6fb454fc6d9e15e93665c9184503c0af6021f.tar.bz2
cuberite-c1e6fb454fc6d9e15e93665c9184503c0af6021f.tar.lz
cuberite-c1e6fb454fc6d9e15e93665c9184503c0af6021f.tar.xz
cuberite-c1e6fb454fc6d9e15e93665c9184503c0af6021f.tar.zst
cuberite-c1e6fb454fc6d9e15e93665c9184503c0af6021f.zip
Diffstat (limited to '')
-rw-r--r--source/ChunkMap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/ChunkMap.h b/source/ChunkMap.h
index e3dfdc88f..a2fb5abff 100644
--- a/source/ChunkMap.h
+++ b/source/ChunkMap.h
@@ -197,6 +197,9 @@ public:
/// Calls the callback for each entity in the specified chunk; returns true if all entities processed, false if the callback aborted by returning true
bool ForEachEntityInChunk(int a_ChunkX, int a_ChunkZ, cEntityCallback & a_Callback); // Lua-accessible
+
+ // Destroys and returns a list of blocks destroyed in the explosion at the specified coordinates
+ cVector3iArray * DoExplosiontAt(float a_ExplosionSize, int a_BlockX, int a_BlockY, int a_BlockZ);
/// Calls the callback if the entity with the specified ID is found, with the entity object as the callback param. Returns true if entity found and callback returned false.
bool DoWithEntityByID(int a_UniqueID, cEntityCallback & a_Callback); // Lua-accessible