summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/World.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h
index 7f6b1871d..e1341c9cb 100644
--- a/src/World.h
+++ b/src/World.h
@@ -45,6 +45,7 @@ class cCuboid;
class cDispenserEntity;
class cFlowerPotEntity;
class cFurnaceEntity;
+class cHopperEntity;
class cNoteEntity;
class cMobHeadEntity;
class cCompositeChat;
@@ -769,6 +770,9 @@ public:
/** Calls the callback for the furnace at the specified coords; returns false if there's no furnace at those coords or callback returns true, returns true if found */
bool DoWithFurnaceAt(int a_BlockX, int a_BlockY, int a_BlockZ, cFurnaceCallback a_Callback); // Exported in ManualBindings.cpp
+ /** Calls the callback for the hopper at the specified coords; returns false if there's no hopper at those coords or callback returns true, returns true if found */
+ bool DoWithHopperAt(int a_BlockX, int a_BlockY, int a_BlockZ, cHopperCallback a_Callback); // Exported in ManualBindings.cpp
+
/** Calls the callback for the noteblock at the specified coords; returns false if there's no noteblock at those coords or callback returns true, returns true if found */
bool DoWithNoteBlockAt(int a_BlockX, int a_BlockY, int a_BlockZ, cNoteBlockCallback a_Callback); // Exported in ManualBindings.cpp