summaryrefslogtreecommitdiffstats
path: root/source/World.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-28 15:57:35 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-28 15:57:35 +0100
commit96f7246df1f48107367f1ea5490ed09e6bde0180 (patch)
treeb8699bf47ce0d55d6c87c44fd1ce36003ac9eeee /source/World.h
parentFixed more valgrind issues (diff)
downloadcuberite-96f7246df1f48107367f1ea5490ed09e6bde0180.tar
cuberite-96f7246df1f48107367f1ea5490ed09e6bde0180.tar.gz
cuberite-96f7246df1f48107367f1ea5490ed09e6bde0180.tar.bz2
cuberite-96f7246df1f48107367f1ea5490ed09e6bde0180.tar.lz
cuberite-96f7246df1f48107367f1ea5490ed09e6bde0180.tar.xz
cuberite-96f7246df1f48107367f1ea5490ed09e6bde0180.tar.zst
cuberite-96f7246df1f48107367f1ea5490ed09e6bde0180.zip
Diffstat (limited to 'source/World.h')
-rw-r--r--source/World.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/World.h b/source/World.h
index af3143465..7d4b68f23 100644
--- a/source/World.h
+++ b/source/World.h
@@ -408,6 +408,9 @@ public:
bool IsBlockDirectlyWatered(int a_BlockX, int a_BlockY, int a_BlockZ); // tolua_export
+ /// Spawns a mob of the specified entity type. Returns the mob's EntityID if recognized and spawned, <0 otherwise
+ int SpawnMob(double a_PosX, double a_PosY, double a_PosZ, int a_EntityType); // tolua_export
+
private:
friend class cRoot;