summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/FurnaceEntity.h
diff options
context:
space:
mode:
authorHaoTNN <haotnn@gmail.com>2015-06-03 02:26:21 +0200
committerHaoTNN <haotnn@gmail.com>2015-06-03 11:19:22 +0200
commite82cd6e4eb78a163b6a72fc1729804e69f1b7601 (patch)
tree00fd5d8d8535ceab005d29913b7b7e8cf1d3b295 /src/BlockEntities/FurnaceEntity.h
parentMerge branch 'master' of https://github.com/mc-server/MCServer (diff)
downloadcuberite-e82cd6e4eb78a163b6a72fc1729804e69f1b7601.tar
cuberite-e82cd6e4eb78a163b6a72fc1729804e69f1b7601.tar.gz
cuberite-e82cd6e4eb78a163b6a72fc1729804e69f1b7601.tar.bz2
cuberite-e82cd6e4eb78a163b6a72fc1729804e69f1b7601.tar.lz
cuberite-e82cd6e4eb78a163b6a72fc1729804e69f1b7601.tar.xz
cuberite-e82cd6e4eb78a163b6a72fc1729804e69f1b7601.tar.zst
cuberite-e82cd6e4eb78a163b6a72fc1729804e69f1b7601.zip
Diffstat (limited to 'src/BlockEntities/FurnaceEntity.h')
-rw-r--r--src/BlockEntities/FurnaceEntity.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/BlockEntities/FurnaceEntity.h b/src/BlockEntities/FurnaceEntity.h
index 8b3ba3e36..8734d763c 100644
--- a/src/BlockEntities/FurnaceEntity.h
+++ b/src/BlockEntities/FurnaceEntity.h
@@ -101,6 +101,11 @@ public:
m_TimeCooked = a_TimeCooked;
}
+ void SetLoading(bool a_IsLoading)
+ {
+ m_IsLoading = a_IsLoading;
+ }
+
protected:
/** Block meta of the block currently represented by this entity */
@@ -129,6 +134,9 @@ protected:
/** Amount of ticks that the current fuel has been burning */
int m_TimeBurned;
+
+ /** Is the block currently being loaded into the world? */
+ bool m_IsLoading;
/** Sends the specified progressbar value to all clients of the window */
void BroadcastProgress(short a_ProgressbarID, short a_Value);