diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-03-15 18:06:58 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2021-03-18 00:44:59 +0100 |
commit | e3fe9e5e93fbf8ce26a61719fdb4ccd9a627d37a (patch) | |
tree | 81cc0687c9ffd438dff76e646dc81a5a6b54377f /src/Protocol/Protocol_1_11.h | |
parent | Mob heads, banners cannot be used (diff) | |
download | cuberite-e3fe9e5e93fbf8ce26a61719fdb4ccd9a627d37a.tar cuberite-e3fe9e5e93fbf8ce26a61719fdb4ccd9a627d37a.tar.gz cuberite-e3fe9e5e93fbf8ce26a61719fdb4ccd9a627d37a.tar.bz2 cuberite-e3fe9e5e93fbf8ce26a61719fdb4ccd9a627d37a.tar.lz cuberite-e3fe9e5e93fbf8ce26a61719fdb4ccd9a627d37a.tar.xz cuberite-e3fe9e5e93fbf8ce26a61719fdb4ccd9a627d37a.tar.zst cuberite-e3fe9e5e93fbf8ce26a61719fdb4ccd9a627d37a.zip |
Diffstat (limited to 'src/Protocol/Protocol_1_11.h')
-rw-r--r-- | src/Protocol/Protocol_1_11.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Protocol/Protocol_1_11.h b/src/Protocol/Protocol_1_11.h index 731426396..6cd4d7607 100644 --- a/src/Protocol/Protocol_1_11.h +++ b/src/Protocol/Protocol_1_11.h @@ -32,11 +32,12 @@ public: protected: - virtual void SendCollectEntity(const cEntity & a_Collected, const cEntity & a_Collector, unsigned a_Count) override; - virtual void SendHideTitle (void) override; - virtual void SendResetTitle (void) override; - virtual void SendSpawnMob (const cMonster & a_Mob) override; - virtual void SendTitleTimes (int a_FadeInTicks, int a_DisplayTicks, int a_FadeOutTicks) override; + virtual void SendCollectEntity (const cEntity & a_Collected, const cEntity & a_Collector, unsigned a_Count) override; + virtual void SendHideTitle (void) override; + virtual void SendResetTitle (void) override; + virtual void SendSpawnMob (const cMonster & a_Mob) override; + virtual void SendTitleTimes (int a_FadeInTicks, int a_DisplayTicks, int a_FadeOutTicks) override; + virtual void SendUpdateBlockEntity(cBlockEntity & a_BlockEntity) override; /** Returns 1.11. */ virtual Version GetProtocolVersion() override; @@ -46,9 +47,9 @@ protected: virtual void HandlePacketBlockPlace (cByteBuffer & a_ByteBuffer) override; + virtual void WriteBlockEntity(cFastNBTWriter & a_Writer, const cBlockEntity & a_BlockEntity) override; virtual void WriteEntityMetadata(cPacketizer & a_Pkt, const cEntity & a_Entity) override; virtual void WriteMobMetadata(cPacketizer & a_Pkt, const cMonster & a_Mob) override; - virtual void WriteBlockEntity(cPacketizer & a_Pkt, const cBlockEntity & a_BlockEntity) override; }; |