summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockHandler.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2019-08-05 01:43:54 +0200
committerMattes D <github@xoft.cz>2019-08-05 21:42:54 +0200
commit8212f163b5429973cc63eb4c8b0073b342f09914 (patch)
treec4c332bdef7c31063f256e4564ff73681d53c2c5 /src/Blocks/BlockHandler.h
parentBlockTypeRegistry: Added hint manipulation (diff)
downloadcuberite-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.h7
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);
+};