summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.h
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2017-05-22 17:41:41 +0200
committerLukas Pioch <lukas@zgow.de>2017-05-22 18:10:12 +0200
commitfc49ace897fadb4c3d555dd05974c51a97cd9d6a (patch)
tree5c514858b4704f9b4f390eba1a9fb32ffdb916d8 /src/Mobs/Monster.h
parentClang 5.0 fixes (diff)
downloadcuberite-fc49ace897fadb4c3d555dd05974c51a97cd9d6a.tar
cuberite-fc49ace897fadb4c3d555dd05974c51a97cd9d6a.tar.gz
cuberite-fc49ace897fadb4c3d555dd05974c51a97cd9d6a.tar.bz2
cuberite-fc49ace897fadb4c3d555dd05974c51a97cd9d6a.tar.lz
cuberite-fc49ace897fadb4c3d555dd05974c51a97cd9d6a.tar.xz
cuberite-fc49ace897fadb4c3d555dd05974c51a97cd9d6a.tar.zst
cuberite-fc49ace897fadb4c3d555dd05974c51a97cd9d6a.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Monster.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h
index cb1e73942..a4d256578 100644
--- a/src/Mobs/Monster.h
+++ b/src/Mobs/Monster.h
@@ -160,6 +160,9 @@ public:
// tolua_end
+ /** Translates the MobType enum to the vanilla nbt name */
+ static AString MobTypeToVanillaNBT(eMonsterType a_MobType);
+
/** Sets the target that this mob will chase. Pass a nullptr to unset. */
void SetTarget (cPawn * a_NewTarget);