diff options
author | Mattes D <github@xoft.cz> | 2019-08-05 01:43:54 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2019-08-05 21:42:54 +0200 |
commit | 8212f163b5429973cc63eb4c8b0073b342f09914 (patch) | |
tree | c4c332bdef7c31063f256e4564ff73681d53c2c5 /src/Blocks/BlockHandler.h | |
parent | BlockTypeRegistry: Added hint manipulation (diff) | |
download | cuberite-8212f163b5429973cc63eb4c8b0073b342f09914.tar cuberite-8212f163b5429973cc63eb4c8b0073b342f09914.tar.gz cuberite-8212f163b5429973cc63eb4c8b0073b342f09914.tar.bz2 cuberite-8212f163b5429973cc63eb4c8b0073b342f09914.tar.lz cuberite-8212f163b5429973cc63eb4c8b0073b342f09914.tar.xz cuberite-8212f163b5429973cc63eb4c8b0073b342f09914.tar.zst cuberite-8212f163b5429973cc63eb4c8b0073b342f09914.zip |
Diffstat (limited to 'src/Blocks/BlockHandler.h')
-rw-r--r-- | src/Blocks/BlockHandler.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Blocks/BlockHandler.h b/src/Blocks/BlockHandler.h index 7fbc15ff5..d077442c9 100644 --- a/src/Blocks/BlockHandler.h +++ b/src/Blocks/BlockHandler.h @@ -16,6 +16,7 @@ class cBlockPluginInterface; class cChunkInterface; class cWorldInterface; class cItems; +class BlockTypeRegistry; @@ -176,3 +177,9 @@ protected: +namespace Temporary +{ + /** Registers all the BlockHandler descendants in the specified registry. + Temporary, since this will later be performed in a plugin that provides the vanilla blocks. */ + void RegisterAllBlockHandlers(BlockTypeRegistry & aRegistry); +}; |