summaryrefslogtreecommitdiffstats
path: root/src/Blocks/BlockHopper.h
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
committerAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
commitcb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a (patch)
treef647b20e1823f1846af88e832cf82a4a02e96e69 /src/Blocks/BlockHopper.h
parentImprove clang-format config file, remove automatically enforced code style from contrib guide. (diff)
downloadcuberite-clang-format-codebase.tar
cuberite-clang-format-codebase.tar.gz
cuberite-clang-format-codebase.tar.bz2
cuberite-clang-format-codebase.tar.lz
cuberite-clang-format-codebase.tar.xz
cuberite-clang-format-codebase.tar.zst
cuberite-clang-format-codebase.zip
Diffstat (limited to 'src/Blocks/BlockHopper.h')
-rw-r--r--src/Blocks/BlockHopper.h27
1 files changed, 18 insertions, 9 deletions
diff --git a/src/Blocks/BlockHopper.h b/src/Blocks/BlockHopper.h
index 930f1e0bc..b008003e4 100644
--- a/src/Blocks/BlockHopper.h
+++ b/src/Blocks/BlockHopper.h
@@ -7,20 +7,29 @@
-class cBlockHopperHandler final :
- public cClearMetaOnDrop<cMetaRotator<cBlockEntityHandler, 0x7, E_META_HOPPER_FACING_ZP, E_META_HOPPER_FACING_XM, E_META_HOPPER_FACING_ZM, E_META_HOPPER_FACING_XP>>
+class cBlockHopperHandler final : public cClearMetaOnDrop<cMetaRotator<
+ cBlockEntityHandler,
+ 0x7,
+ E_META_HOPPER_FACING_ZP,
+ E_META_HOPPER_FACING_XM,
+ E_META_HOPPER_FACING_ZM,
+ E_META_HOPPER_FACING_XP>>
{
- using Super = cClearMetaOnDrop<cMetaRotator<cBlockEntityHandler, 0x7, E_META_HOPPER_FACING_ZP, E_META_HOPPER_FACING_XM, E_META_HOPPER_FACING_ZM, E_META_HOPPER_FACING_XP>>;
-
-public:
-
+ using Super = cClearMetaOnDrop<cMetaRotator<
+ cBlockEntityHandler,
+ 0x7,
+ E_META_HOPPER_FACING_ZP,
+ E_META_HOPPER_FACING_XM,
+ E_META_HOPPER_FACING_ZM,
+ E_META_HOPPER_FACING_XP>>;
+
+ public:
using Super::Super;
-private:
-
+ private:
virtual ColourID GetMapBaseColourID(NIBBLETYPE a_Meta) const override
{
UNUSED(a_Meta);
return 11;
}
-} ;
+};