diff options
Diffstat (limited to 'source/BlockID.h')
-rw-r--r-- | source/BlockID.h | 5 |
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);
+
|