summaryrefslogtreecommitdiffstats
path: root/source/DropperEntity.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-28 20:50:44 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-28 20:50:44 +0200
commit3138daa1f8902a9e57d8ff2aa2951a194808b8ae (patch)
treeb6270f3e69cc59420158973662b9de667e3f9e86 /source/DropperEntity.h
parentMore dropspenser redstone interaction fixes. (diff)
downloadcuberite-3138daa1f8902a9e57d8ff2aa2951a194808b8ae.tar
cuberite-3138daa1f8902a9e57d8ff2aa2951a194808b8ae.tar.gz
cuberite-3138daa1f8902a9e57d8ff2aa2951a194808b8ae.tar.bz2
cuberite-3138daa1f8902a9e57d8ff2aa2951a194808b8ae.tar.lz
cuberite-3138daa1f8902a9e57d8ff2aa2951a194808b8ae.tar.xz
cuberite-3138daa1f8902a9e57d8ff2aa2951a194808b8ae.tar.zst
cuberite-3138daa1f8902a9e57d8ff2aa2951a194808b8ae.zip
Diffstat (limited to 'source/DropperEntity.h')
-rw-r--r--source/DropperEntity.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/DropperEntity.h b/source/DropperEntity.h
index 5f338dee8..ed29bfe95 100644
--- a/source/DropperEntity.h
+++ b/source/DropperEntity.h
@@ -35,7 +35,13 @@ public:
protected:
// cDropSpenserEntity overrides:
- virtual void DropSpenseFromSlot(int a_SlotNum) override;
+ virtual void DropSpenseFromSlot(cChunk & a_Chunk, int a_SlotNum) override;
+
+ /** Takes an item from slot a_SlotNum and puts it into the container in front of the dropper.
+ Called when there's a container directly in front of the dropper,
+ so the dropper should store items there, rather than dropping.
+ */
+ void PutIntoContainer(cChunk & a_Chunk, int a_SlotNum, BLOCKTYPE a_ContainerBlock, int a_ContainerX, int a_ContainerY, int a_ContainerZ);
} ; // tolua_export