summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockAir.h
diff options
context:
space:
mode:
authorpeterbell10 <peterbell10@live.co.uk>2020-10-05 12:27:14 +0200
committerGitHub <noreply@github.com>2020-10-05 12:27:14 +0200
commita9031b6bae742b333b1b390192fa590f2ecb07ea (patch)
treeb2802c81d24d339c201a0747d66ba44e9ea8b1b0 /src/Blocks/BlockAir.h
parentFixed current end generator (#4968) (diff)
downloadcuberite-a9031b6bae742b333b1b390192fa590f2ecb07ea.tar
cuberite-a9031b6bae742b333b1b390192fa590f2ecb07ea.tar.gz
cuberite-a9031b6bae742b333b1b390192fa590f2ecb07ea.tar.bz2
cuberite-a9031b6bae742b333b1b390192fa590f2ecb07ea.tar.lz
cuberite-a9031b6bae742b333b1b390192fa590f2ecb07ea.tar.xz
cuberite-a9031b6bae742b333b1b390192fa590f2ecb07ea.tar.zst
cuberite-a9031b6bae742b333b1b390192fa590f2ecb07ea.zip
Diffstat (limited to 'src/Blocks/BlockAir.h')
-rw-r--r--src/Blocks/BlockAir.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/Blocks/BlockAir.h b/src/Blocks/BlockAir.h
new file mode 100644
index 000000000..529e25302
--- /dev/null
+++ b/src/Blocks/BlockAir.h
@@ -0,0 +1,22 @@
+
+#pragma once
+
+
+
+
+
+class cBlockAirHandler final :
+ public cBlockHandler
+{
+public:
+
+ using cBlockHandler::cBlockHandler;
+
+private:
+
+ virtual cItems ConvertToPickups(NIBBLETYPE a_BlockMeta, const cEntity * a_Digger, const cItem * a_Tool) const override
+ {
+ // Don't drop anything:
+ return {};
+ }
+};