summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol17x.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-19 01:54:38 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-19 01:54:38 +0100
commitf8c8dcc7f36366dc6b59e6741d466e739322d5d1 (patch)
tree0462f2482c311fc4d3afbf39ef5858eccb1706d8 /src/Protocol/Protocol17x.h
parentMerge pull request #557 from xdot/master (diff)
downloadcuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.tar
cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.tar.gz
cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.tar.bz2
cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.tar.lz
cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.tar.xz
cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.tar.zst
cuberite-f8c8dcc7f36366dc6b59e6741d466e739322d5d1.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol17x.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Protocol/Protocol17x.h b/src/Protocol/Protocol17x.h
index 07dba834b..6e04a0ffb 100644
--- a/src/Protocol/Protocol17x.h
+++ b/src/Protocol/Protocol17x.h
@@ -102,6 +102,7 @@ public:
virtual void SendThunderbolt (int a_BlockX, int a_BlockY, int a_BlockZ) override;
virtual void SendTimeUpdate (Int64 a_WorldAge, Int64 a_TimeOfDay) override;
virtual void SendUnloadChunk (int a_ChunkX, int a_ChunkZ) override;
+ virtual void SendUpdateBlockEntity (int a_BlockX, int a_BlockY, int a_BlockZ, Byte a_Action, cFastNBTWriter & a_NBT) override;
virtual void SendUpdateSign (int a_BlockX, int a_BlockY, int a_BlockZ, const AString & a_Line1, const AString & a_Line2, const AString & a_Line3, const AString & a_Line4) override;
virtual void SendUseBed (const cEntity & a_Entity, int a_BlockX, int a_BlockY, int a_BlockZ ) override;
virtual void SendWeather (eWeather a_Weather) override;
@@ -189,6 +190,7 @@ protected:
void WriteEntityMetadata(const cEntity & a_Entity); // Writes the metadata for the specified entity, not including the terminating 0x7f
void WriteMobMetadata(const cMonster & a_Mob); // Writes the mob-specific metadata for the specified mob
void WriteEntityProperties(const cEntity & a_Entity); // Writes the entity properties for the specified entity, including the Count field
+ void WriteBlockEntity(const cFastNBTWriter & a_NBT);
protected:
cProtocol172 & m_Protocol;