summaryrefslogtreecommitdiffstats
path: root/source/BlockID.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-05-27 12:51:04 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-05-27 12:51:04 +0200
commitba2f0c6229870fd7c1d0b0f530dd1567d43e4e03 (patch)
treefc807d61b7656133a59a1113cbbda65d4bfed53f /source/BlockID.h
parentImproved logging on mis-configuration in cPlayer and cWorldStorage (diff)
downloadcuberite-ba2f0c6229870fd7c1d0b0f530dd1567d43e4e03.tar
cuberite-ba2f0c6229870fd7c1d0b0f530dd1567d43e4e03.tar.gz
cuberite-ba2f0c6229870fd7c1d0b0f530dd1567d43e4e03.tar.bz2
cuberite-ba2f0c6229870fd7c1d0b0f530dd1567d43e4e03.tar.lz
cuberite-ba2f0c6229870fd7c1d0b0f530dd1567d43e4e03.tar.xz
cuberite-ba2f0c6229870fd7c1d0b0f530dd1567d43e4e03.tar.zst
cuberite-ba2f0c6229870fd7c1d0b0f530dd1567d43e4e03.zip
Diffstat (limited to '')
-rw-r--r--source/BlockID.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/BlockID.h b/source/BlockID.h
index 323319fcb..ec7bb70ac 100644
--- a/source/BlockID.h
+++ b/source/BlockID.h
@@ -440,9 +440,12 @@ enum
-// Translates a blocktype string into blocktype. Takes either a number or an items.ini alias as input. Returns -1 on failure.
+/// Translates a blocktype string into blocktype. Takes either a number or an items.ini alias as input. Returns -1 on failure.
extern int BlockStringToType(const AString & a_BlockTypeString);
+/// 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);
+