summaryrefslogtreecommitdiffstats
path: root/source/BlockID.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-07-12 22:28:41 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-07-12 22:28:41 +0200
commit2fca0567bfcd7b62b8fcd05ff36a07d931e1ea9e (patch)
tree332aacfef1f1387b63b7306a0dcfcdbf80506085 /source/BlockID.h
parentFirst implementation of movement-related hunger and API (diff)
downloadcuberite-2fca0567bfcd7b62b8fcd05ff36a07d931e1ea9e.tar
cuberite-2fca0567bfcd7b62b8fcd05ff36a07d931e1ea9e.tar.gz
cuberite-2fca0567bfcd7b62b8fcd05ff36a07d931e1ea9e.tar.bz2
cuberite-2fca0567bfcd7b62b8fcd05ff36a07d931e1ea9e.tar.lz
cuberite-2fca0567bfcd7b62b8fcd05ff36a07d931e1ea9e.tar.xz
cuberite-2fca0567bfcd7b62b8fcd05ff36a07d931e1ea9e.tar.zst
cuberite-2fca0567bfcd7b62b8fcd05ff36a07d931e1ea9e.zip
Diffstat (limited to 'source/BlockID.h')
-rw-r--r--source/BlockID.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/BlockID.h b/source/BlockID.h
index 9b2a104f3..bd2580ca9 100644
--- a/source/BlockID.h
+++ b/source/BlockID.h
@@ -688,6 +688,9 @@ extern AString ItemToFullString(const cItem & a_Item);
/// Translates a biome string to biome enum. Takes either a number or a biome alias (built-in). Returns -1 on failure.
extern EMCSBiome StringToBiome(const AString & a_BiomeString);
+/// Translates a mob string ("ocelot") to mobtype (E_ENTITY_TYPE_OCELOT)
+extern int StringToMobType(const AString & a_MobString);
+
/// Translates a dimension string to dimension enum. Takes either a number or a dimension alias (built-in). Returns -1000 on failure
extern eDimension StringToDimension(const AString & a_DimensionString);