diff options
author | Mat <mail@mathias.is> | 2020-03-23 14:45:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-23 14:45:09 +0100 |
commit | f5d24746d662f12b0446d82b0e49f7dec495c748 (patch) | |
tree | 7bed8eab2c49f2985ef5e3e0ceaea7dbd3d2df13 /src/Blocks/BlockJukebox.h | |
parent | Update .gitignore; new files added to APIDump are no longer ignored (diff) | |
download | cuberite-f5d24746d662f12b0446d82b0e49f7dec495c748.tar cuberite-f5d24746d662f12b0446d82b0e49f7dec495c748.tar.gz cuberite-f5d24746d662f12b0446d82b0e49f7dec495c748.tar.bz2 cuberite-f5d24746d662f12b0446d82b0e49f7dec495c748.tar.lz cuberite-f5d24746d662f12b0446d82b0e49f7dec495c748.tar.xz cuberite-f5d24746d662f12b0446d82b0e49f7dec495c748.tar.zst cuberite-f5d24746d662f12b0446d82b0e49f7dec495c748.zip |
Diffstat (limited to 'src/Blocks/BlockJukebox.h')
-rw-r--r-- | src/Blocks/BlockJukebox.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/Blocks/BlockJukebox.h b/src/Blocks/BlockJukebox.h new file mode 100644 index 000000000..22b02a2c7 --- /dev/null +++ b/src/Blocks/BlockJukebox.h @@ -0,0 +1,36 @@ + +#pragma once + +#include "BlockEntity.h" +#include "Mixins.h" + + + + + +class cBlockJukeboxHandler : + public cClearMetaOnDrop<cBlockEntityHandler> +{ + using super = cClearMetaOnDrop<cBlockEntityHandler>; + +public: + + cBlockJukeboxHandler(BLOCKTYPE a_BlockType): + super(a_BlockType) + { + } + + + + + + virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) override + { + UNUSED(a_Meta); + return 6; + } +} ; + + + + |