summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_8.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-03-15 18:06:58 +0100
committerTiger Wang <ziwei.tiger@outlook.com>2021-03-18 00:44:59 +0100
commite3fe9e5e93fbf8ce26a61719fdb4ccd9a627d37a (patch)
tree81cc0687c9ffd438dff76e646dc81a5a6b54377f /src/Protocol/Protocol_1_8.h
parentMob heads, banners cannot be used (diff)
downloadcuberite-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_8.h')
-rw-r--r--src/Protocol/Protocol_1_8.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Protocol/Protocol_1_8.h b/src/Protocol/Protocol_1_8.h
index 29bc7420c..9a849e82e 100644
--- a/src/Protocol/Protocol_1_8.h
+++ b/src/Protocol/Protocol_1_8.h
@@ -223,6 +223,9 @@ protected:
/** Sends the entity type and entity-dependent data required for the entity to initially spawn. */
virtual void SendEntitySpawn(const cEntity & a_Entity, const UInt8 a_ObjectType, const Int32 a_ObjectData);
+ /** Writes the block entity data for the specified block entity into the packet. */
+ virtual void WriteBlockEntity(cFastNBTWriter & a_Writer, const cBlockEntity & a_BlockEntity);
+
/** Writes the item data into a packet. */
virtual void WriteItem(cPacketizer & a_Pkt, const cItem & a_Item);
@@ -235,9 +238,6 @@ protected:
/** Writes the entity properties for the specified entity, including the Count field. */
virtual void WriteEntityProperties(cPacketizer & a_Pkt, const cEntity & a_Entity);
- /** Writes the block entity data for the specified block entity into the packet. */
- virtual void WriteBlockEntity(cPacketizer & a_Pkt, const cBlockEntity & a_BlockEntity);
-
private:
AString m_ServerAddress;