diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-26 22:52:39 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2013-05-26 22:52:39 +0200 |
commit | edbc2790e31f27195835ef184a9d452bc83b2c56 (patch) | |
tree | 6d6904f240ad9e7d9f61ee99a9e6a18da4663a7c /source/DispenserEntity.h | |
parent | Clarified documentation on the cItemGrid:RemoveItem() functions (diff) | |
download | cuberite-edbc2790e31f27195835ef184a9d452bc83b2c56.tar cuberite-edbc2790e31f27195835ef184a9d452bc83b2c56.tar.gz cuberite-edbc2790e31f27195835ef184a9d452bc83b2c56.tar.bz2 cuberite-edbc2790e31f27195835ef184a9d452bc83b2c56.tar.lz cuberite-edbc2790e31f27195835ef184a9d452bc83b2c56.tar.xz cuberite-edbc2790e31f27195835ef184a9d452bc83b2c56.tar.zst cuberite-edbc2790e31f27195835ef184a9d452bc83b2c56.zip |
Diffstat (limited to 'source/DispenserEntity.h')
-rw-r--r-- | source/DispenserEntity.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/DispenserEntity.h b/source/DispenserEntity.h index 9d788128f..ad6400921 100644 --- a/source/DispenserEntity.h +++ b/source/DispenserEntity.h @@ -28,6 +28,12 @@ public: private:
// cDropSpenser overrides:
virtual void DropSpenseFromSlot(int a_SlotNum) override;
+
+ /// If such a bucket can fit, adds it to m_Contents and returns true
+ bool ScoopUpLiquid(int a_SlotNum, short a_BucketItemType);
+
+ /// If the a_BlockInFront is liquidable and the empty bucket can fit, does the m_Contents processing and returns true
+ bool PlaceLiquid(BLOCKTYPE a_BlockInFront, int a_SlotNum);
} ; // tolua_export
|