diff options
Diffstat (limited to 'src/Chunk.cpp')
-rw-r--r-- | src/Chunk.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp index 574c00132..9dc0e8aee 100644 --- a/src/Chunk.cpp +++ b/src/Chunk.cpp @@ -2177,6 +2177,17 @@ bool cChunk::DoWithFurnaceAt(int a_BlockX, int a_BlockY, int a_BlockZ, cFurnaceC +bool cChunk::DoWithHopperAt(int a_BlockX, int a_BlockY, int a_BlockZ, cHopperCallback a_Callback) +{ + return GenericDoWithBlockEntityAt<cHopperEntity, + E_BLOCK_HOPPER + >(a_BlockX, a_BlockY, a_BlockZ, a_Callback); +} + + + + + bool cChunk::DoWithNoteBlockAt(int a_BlockX, int a_BlockY, int a_BlockZ, cNoteBlockCallback a_Callback) { return GenericDoWithBlockEntityAt<cNoteEntity, |