diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-02-18 21:40:02 +0100 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-02-18 21:40:02 +0100 |
commit | 52c41f886927cf62ed592ba7fec974eee6b16844 (patch) | |
tree | a8479e65d606e2bcdf092501f30a43b778917d13 /src/ChunkMap.h | |
parent | Add Skulls/Heads (diff) | |
download | cuberite-52c41f886927cf62ed592ba7fec974eee6b16844.tar cuberite-52c41f886927cf62ed592ba7fec974eee6b16844.tar.gz cuberite-52c41f886927cf62ed592ba7fec974eee6b16844.tar.bz2 cuberite-52c41f886927cf62ed592ba7fec974eee6b16844.tar.lz cuberite-52c41f886927cf62ed592ba7fec974eee6b16844.tar.xz cuberite-52c41f886927cf62ed592ba7fec974eee6b16844.tar.zst cuberite-52c41f886927cf62ed592ba7fec974eee6b16844.zip |
Diffstat (limited to 'src/ChunkMap.h')
-rw-r--r-- | src/ChunkMap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ChunkMap.h b/src/ChunkMap.h index d713d0cf5..02c245dc9 100644 --- a/src/ChunkMap.h +++ b/src/ChunkMap.h @@ -25,6 +25,7 @@ class cDropSpenserEntity; class cFurnaceEntity; class cNoteEntity; class cCommandBlockEntity; +class cSkullEntity; class cPawn; class cPickup; class cChunkDataSerializer; @@ -43,6 +44,7 @@ typedef cItemCallback<cDropSpenserEntity> cDropSpenserCallback; typedef cItemCallback<cFurnaceEntity> cFurnaceCallback; typedef cItemCallback<cNoteEntity> cNoteBlockCallback; typedef cItemCallback<cCommandBlockEntity> cCommandBlockCallback; +typedef cItemCallback<cSkullEntity> cSkullBlockCallback; typedef cItemCallback<cChunk> cChunkCallback; @@ -245,6 +247,9 @@ public: /** Calls the callback for the command block at the specified coords; returns false if there's no command block at those coords or callback returns true, returns true if found */ bool DoWithCommandBlockAt(int a_BlockX, int a_BlockY, int a_BlockZ, cCommandBlockCallback & a_Callback); // Lua-accessible + /** Calls the callback for the skull block at the specified coords; returns false if there's no skull block at those coords or callback returns true, returns true if found */ + bool DoWithSkullBlockAt(int a_BlockX, int a_BlockY, int a_BlockZ, cSkullBlockCallback & a_Callback); // Lua-accessible + /** Retrieves the test on the sign at the specified coords; returns false if there's no sign at those coords, true if found */ bool GetSignLines (int a_BlockX, int a_BlockY, int a_BlockZ, AString & a_Line1, AString & a_Line2, AString & a_Line3, AString & a_Line4); // Lua-accessible |