summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-02-19 22:12:38 +0100
committerMattes D <github@xoft.cz>2014-02-19 22:12:38 +0100
commit87db4b6a904f2877919446b8219d659848da89e8 (patch)
tree617bf18a768a493c2cd428297168f57df0901c26 /src/World.h
parentMerge pull request #694 from mc-server/itemframes (diff)
parentRename SkullEntity to MobHeadEntity (diff)
downloadcuberite-87db4b6a904f2877919446b8219d659848da89e8.tar
cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.gz
cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.bz2
cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.lz
cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.xz
cuberite-87db4b6a904f2877919446b8219d659848da89e8.tar.zst
cuberite-87db4b6a904f2877919446b8219d659848da89e8.zip
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h
index d79de3b87..5c18c5d23 100644
--- a/src/World.h
+++ b/src/World.h
@@ -45,6 +45,7 @@ class cChestEntity;
class cDispenserEntity;
class cFurnaceEntity;
class cNoteEntity;
+class cMobHeadEntity;
class cMobCensus;
class cCompositeChat;
class cCuboid;
@@ -58,6 +59,7 @@ typedef cItemCallback<cDispenserEntity> cDispenserCallback;
typedef cItemCallback<cFurnaceEntity> cFurnaceCallback;
typedef cItemCallback<cNoteEntity> cNoteBlockCallback;
typedef cItemCallback<cCommandBlockEntity> cCommandBlockCallback;
+typedef cItemCallback<cMobHeadEntity> cMobHeadBlockCallback;
@@ -519,6 +521,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); // Exported in ManualBindings.cpp
+ /** Calls the callback for the mob head block at the specified coords; returns false if there's no mob head block at those coords or callback returns true, returns true if found */
+ bool DoWithMobHeadBlockAt(int a_BlockX, int a_BlockY, int a_BlockZ, cMobHeadBlockCallback & a_Callback); // Exported in ManualBindings.cpp
+
/** 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); // Exported in ManualBindings.cpp