summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_13.h
diff options
context:
space:
mode:
authorMat <mail@mathias.is>2020-03-29 17:54:37 +0200
committerGitHub <noreply@github.com>2020-03-29 17:54:37 +0200
commit31ace87d285d14f8799bc45ab5c812822854d0dd (patch)
treeee891fd5ec2b9d391f803e3d9dfed541df53179d /src/Protocol/Protocol_1_13.h
parentFix build on Clang (diff)
downloadcuberite-31ace87d285d14f8799bc45ab5c812822854d0dd.tar
cuberite-31ace87d285d14f8799bc45ab5c812822854d0dd.tar.gz
cuberite-31ace87d285d14f8799bc45ab5c812822854d0dd.tar.bz2
cuberite-31ace87d285d14f8799bc45ab5c812822854d0dd.tar.lz
cuberite-31ace87d285d14f8799bc45ab5c812822854d0dd.tar.xz
cuberite-31ace87d285d14f8799bc45ab5c812822854d0dd.tar.zst
cuberite-31ace87d285d14f8799bc45ab5c812822854d0dd.zip
Diffstat (limited to 'src/Protocol/Protocol_1_13.h')
-rw-r--r--src/Protocol/Protocol_1_13.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Protocol/Protocol_1_13.h b/src/Protocol/Protocol_1_13.h
index ee7c2e048..baafd3fd5 100644
--- a/src/Protocol/Protocol_1_13.h
+++ b/src/Protocol/Protocol_1_13.h
@@ -15,6 +15,7 @@ Declares the 1.13 protocol classes:
#pragma once
#include "Protocol_1_12.h"
+#include "../World.h"
@@ -72,6 +73,9 @@ protected:
virtual void SendTabCompletionResults (const AStringVector & a_Results) override;
virtual void SendUpdateBlockEntity (cBlockEntity & a_BlockEntity) override;
+ /** Converts eMonsterType to protocol-specific mob types */
+ virtual UInt32 GetProtocolMobType(eMonsterType a_MobType) override;
+
virtual bool ReadItem(cByteBuffer & a_ByteBuffer, cItem & a_Item, size_t a_KeepRemainingBytes) override;
virtual void WriteItem(cPacketizer & a_Pkt, const cItem & a_Item) override;
virtual void WriteEntityMetadata(cPacketizer & a_Pkt, const cEntity & a_Entity) override;