diff options
author | madmaxoft <github@xoft.cz> | 2014-07-19 15:23:40 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-19 15:23:40 +0200 |
commit | 08748bafe26145cd61a179abd131a9dba6065450 (patch) | |
tree | 3e69eef8ca94d13b565da38b11699af2d4590e02 /src/BlockEntities | |
parent | CheckBasicStyle: Check spaces around commas. (diff) | |
download | cuberite-08748bafe26145cd61a179abd131a9dba6065450.tar cuberite-08748bafe26145cd61a179abd131a9dba6065450.tar.gz cuberite-08748bafe26145cd61a179abd131a9dba6065450.tar.bz2 cuberite-08748bafe26145cd61a179abd131a9dba6065450.tar.lz cuberite-08748bafe26145cd61a179abd131a9dba6065450.tar.xz cuberite-08748bafe26145cd61a179abd131a9dba6065450.tar.zst cuberite-08748bafe26145cd61a179abd131a9dba6065450.zip |
Diffstat (limited to 'src/BlockEntities')
-rw-r--r-- | src/BlockEntities/ChestEntity.h | 3 | ||||
-rw-r--r-- | src/BlockEntities/DropSpenserEntity.h | 3 | ||||
-rw-r--r-- | src/BlockEntities/HopperEntity.h | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/BlockEntities/ChestEntity.h b/src/BlockEntities/ChestEntity.h index 310618504..cd06b3e2c 100644 --- a/src/BlockEntities/ChestEntity.h +++ b/src/BlockEntities/ChestEntity.h @@ -27,7 +27,8 @@ class cChestEntity : typedef cBlockEntityWithItems super; public: - enum { + enum + { ContentsHeight = 3, ContentsWidth = 9, } ; diff --git a/src/BlockEntities/DropSpenserEntity.h b/src/BlockEntities/DropSpenserEntity.h index 47d3bd492..9f58d0b07 100644 --- a/src/BlockEntities/DropSpenserEntity.h +++ b/src/BlockEntities/DropSpenserEntity.h @@ -35,7 +35,8 @@ class cDropSpenserEntity : typedef cBlockEntityWithItems super; public: - enum { + enum + { ContentsHeight = 3, ContentsWidth = 3, } ; diff --git a/src/BlockEntities/HopperEntity.h b/src/BlockEntities/HopperEntity.h index 6ef98f43a..8e856fcda 100644 --- a/src/BlockEntities/HopperEntity.h +++ b/src/BlockEntities/HopperEntity.h @@ -22,7 +22,8 @@ class cHopperEntity : typedef cBlockEntityWithItems super; public: - enum { + enum + { ContentsHeight = 1, ContentsWidth = 5, TICKS_PER_TRANSFER = 8, ///< How many ticks at minimum between two item transfers to or from the hopper |