summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/NoteEntity.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-09-30 23:20:21 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-09-30 23:20:21 +0200
commit9e4a5f824ae88e3a19de6a14db91b43c1759e29e (patch)
tree525247a87cf3c28c3407d3f0768e580e2c68e2fb /src/BlockEntities/NoteEntity.cpp
parentMerge pull request #1485 from mc-server/PluginMessages (diff)
downloadcuberite-9e4a5f824ae88e3a19de6a14db91b43c1759e29e.tar
cuberite-9e4a5f824ae88e3a19de6a14db91b43c1759e29e.tar.gz
cuberite-9e4a5f824ae88e3a19de6a14db91b43c1759e29e.tar.bz2
cuberite-9e4a5f824ae88e3a19de6a14db91b43c1759e29e.tar.lz
cuberite-9e4a5f824ae88e3a19de6a14db91b43c1759e29e.tar.xz
cuberite-9e4a5f824ae88e3a19de6a14db91b43c1759e29e.tar.zst
cuberite-9e4a5f824ae88e3a19de6a14db91b43c1759e29e.zip
Diffstat (limited to 'src/BlockEntities/NoteEntity.cpp')
-rw-r--r--src/BlockEntities/NoteEntity.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/BlockEntities/NoteEntity.cpp b/src/BlockEntities/NoteEntity.cpp
index ecbedbcb1..a9af13c55 100644
--- a/src/BlockEntities/NoteEntity.cpp
+++ b/src/BlockEntities/NoteEntity.cpp
@@ -124,32 +124,3 @@ void cNoteEntity::IncrementPitch(void)
-
-bool cNoteEntity::LoadFromJson(const Json::Value & a_Value)
-{
-
- m_PosX = a_Value.get("x", 0).asInt();
- m_PosY = a_Value.get("y", 0).asInt();
- m_PosZ = a_Value.get("z", 0).asInt();
-
- m_Pitch = (char)a_Value.get("p", 0).asInt();
-
- return true;
-}
-
-
-
-
-
-void cNoteEntity::SaveToJson(Json::Value & a_Value)
-{
- a_Value["x"] = m_PosX;
- a_Value["y"] = m_PosY;
- a_Value["z"] = m_PosZ;
-
- a_Value["p"] = m_Pitch;
-}
-
-
-
-