summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_13.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Protocol/Protocol_1_13.h')
-rw-r--r--src/Protocol/Protocol_1_13.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/Protocol/Protocol_1_13.h b/src/Protocol/Protocol_1_13.h
index 168c279c1..0f9ad721e 100644
--- a/src/Protocol/Protocol_1_13.h
+++ b/src/Protocol/Protocol_1_13.h
@@ -37,14 +37,8 @@ public:
cProtocol_1_13(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State);
- virtual void Initialize(cClientHandle & a_Client) override;
-
protected:
- /** Returns the string identifying the palettes' version, such as "1.13" or "1.14.4".
- The palettes for that version are loaded into m_BlockTypePalette and m_ItemTypePalette. */
- virtual AString GetPaletteVersion() const;
-
// Packet sending:
virtual void SendBlockChange (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override;
virtual void SendBlockChanges (int a_ChunkX, int a_ChunkZ, const sSetBlockVector & a_Changes) override;
@@ -77,13 +71,4 @@ protected:
virtual void WriteEntityMetadata(cPacketizer & a_Pkt, const eEntityMetadata a_Metadata, const eEntityMetadataType a_FieldType);
virtual void WriteEntityMetadata(cPacketizer & a_Pkt, const cEntity & a_Entity) override;
virtual void WriteMobMetadata(cPacketizer & a_Pkt, const cMonster & a_Mob) override;
-
-private:
-
- /** The palette used to transform internal block type palette into the protocol-specific ID. */
- std::shared_ptr<const BlockTypePalette> m_BlockTypePalette;
-
- /** Temporary hack for initial 1.13+ support while keeping BLOCKTYPE data:
- Map of the BLOCKTYPE#META to the protocol-specific NetBlockID. */
- std::map<UInt32, UInt32> m_BlockTypeMap;
};