summaryrefslogtreecommitdiffstats
path: root/source/World.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;