diff options
Diffstat (limited to 'src/Chunk.h')
-rw-r--r-- | src/Chunk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Chunk.h b/src/Chunk.h index 9aa963fae..dd21d0e8f 100644 --- a/src/Chunk.h +++ b/src/Chunk.h @@ -27,6 +27,7 @@ class cChunkDataCallback; class cCommandBlockEntity; class cDispenserEntity; class cFurnaceEntity; +class cHopperEntity; class cNoteEntity; class cMobHeadEntity; class cFlowerPotEntity; @@ -332,6 +333,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); // Lua-accessible + /** 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); // Lua-accessible + /** 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); |