diff options
author | Alexander Harkness <me@bearbin.net> | 2020-04-08 22:35:08 +0200 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2020-04-10 15:07:16 +0200 |
commit | f40aba941eaf69b52ac0fbe3d8cea1ea349b97a6 (patch) | |
tree | d96f25621ab462bf3af7ff7403acb54c01a70595 /src/Blocks/BlockObserver.h | |
parent | Brewing stands do not have rotation (diff) | |
download | cuberite-f40aba941eaf69b52ac0fbe3d8cea1ea349b97a6.tar cuberite-f40aba941eaf69b52ac0fbe3d8cea1ea349b97a6.tar.gz cuberite-f40aba941eaf69b52ac0fbe3d8cea1ea349b97a6.tar.bz2 cuberite-f40aba941eaf69b52ac0fbe3d8cea1ea349b97a6.tar.lz cuberite-f40aba941eaf69b52ac0fbe3d8cea1ea349b97a6.tar.xz cuberite-f40aba941eaf69b52ac0fbe3d8cea1ea349b97a6.tar.zst cuberite-f40aba941eaf69b52ac0fbe3d8cea1ea349b97a6.zip |
Diffstat (limited to 'src/Blocks/BlockObserver.h')
-rw-r--r-- | src/Blocks/BlockObserver.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Blocks/BlockObserver.h b/src/Blocks/BlockObserver.h new file mode 100644 index 000000000..ebac0ee31 --- /dev/null +++ b/src/Blocks/BlockObserver.h @@ -0,0 +1,19 @@ + +#pragma once + +#include "BlockHandler.h" +#include "Mixins.h" + + +class cBlockObserverHandler: + public cClearMetaOnDrop<cPitchYawRotator<cBlockHandler>> +{ + using super = cClearMetaOnDrop<cPitchYawRotator<cBlockHandler>>; + +public: + + cBlockObserverHandler(BLOCKTYPE a_BlockType) : super(a_BlockType) + { + } + +}; |