summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol18x.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-09-11 20:06:28 +0200
committerHowaner <franzi.moos@googlemail.com>2014-09-11 20:06:28 +0200
commitc45bf7cf55cac42fd168df6d008cb814dd94eae1 (patch)
treedcd019680077936254c211ee27f45ec5a09c1785 /src/Protocol/Protocol18x.h
parent1.8: Added ParticleEffect packet. (diff)
downloadcuberite-c45bf7cf55cac42fd168df6d008cb814dd94eae1.tar
cuberite-c45bf7cf55cac42fd168df6d008cb814dd94eae1.tar.gz
cuberite-c45bf7cf55cac42fd168df6d008cb814dd94eae1.tar.bz2
cuberite-c45bf7cf55cac42fd168df6d008cb814dd94eae1.tar.lz
cuberite-c45bf7cf55cac42fd168df6d008cb814dd94eae1.tar.xz
cuberite-c45bf7cf55cac42fd168df6d008cb814dd94eae1.tar.zst
cuberite-c45bf7cf55cac42fd168df6d008cb814dd94eae1.zip
Diffstat (limited to 'src/Protocol/Protocol18x.h')
-rw-r--r--src/Protocol/Protocol18x.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Protocol/Protocol18x.h b/src/Protocol/Protocol18x.h
index 2b3063556..97ab3e93c 100644
--- a/src/Protocol/Protocol18x.h
+++ b/src/Protocol/Protocol18x.h
@@ -141,6 +141,9 @@ public:
/** The 1.8 protocol use a particle id instead of a string. This function converts the name to the id. If the name is incorrect, it returns 0. */
static int GetParticleID(const AString & a_ParticleName);
+ /** Minecraft 1.8 use other locations to spawn the item frame. This function converts the 1.7 positions to 1.8 positions. */
+ static void FixItemFramePositions(int a_ObjectData, double & a_PosX, double & a_PosZ, double & a_Yaw);
+
protected:
/** Composes individual packets in the protocol's m_OutPacketBuffer; sends them upon being destructed */