diff options
author | Samuel Barney <samjbarney@gmail.com> | 2013-10-24 01:41:36 +0200 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2013-10-24 01:41:36 +0200 |
commit | 4666c1bf3082a9b313336389ac25013429f2145f (patch) | |
tree | 10c4c7fb704267ed1ed5a2ae3b2e4b7f63ab9490 /source/BlockEntities/HopperEntity.h | |
parent | Removed my hackish Light functions (diff) | |
parent | APIDump: Added cChatColor constants. (diff) | |
download | cuberite-4666c1bf3082a9b313336389ac25013429f2145f.tar cuberite-4666c1bf3082a9b313336389ac25013429f2145f.tar.gz cuberite-4666c1bf3082a9b313336389ac25013429f2145f.tar.bz2 cuberite-4666c1bf3082a9b313336389ac25013429f2145f.tar.lz cuberite-4666c1bf3082a9b313336389ac25013429f2145f.tar.xz cuberite-4666c1bf3082a9b313336389ac25013429f2145f.tar.zst cuberite-4666c1bf3082a9b313336389ac25013429f2145f.zip |
Diffstat (limited to 'source/BlockEntities/HopperEntity.h')
-rw-r--r-- | source/BlockEntities/HopperEntity.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/source/BlockEntities/HopperEntity.h b/source/BlockEntities/HopperEntity.h index a49868660..1a7650581 100644 --- a/source/BlockEntities/HopperEntity.h +++ b/source/BlockEntities/HopperEntity.h @@ -38,15 +38,12 @@ public: /// Constructor used for normal operation cHopperEntity(int a_BlockX, int a_BlockY, int a_BlockZ, cWorld * a_World); - // tolua_begin - /** Returns the block coords of the block receiving the output items, based on the meta - Returns false if unattached + Returns false if unattached. + Exported in ManualBindings.cpp */ bool GetOutputBlockPos(NIBBLETYPE a_BlockMeta, int & a_OutputX, int & a_OutputY, int & a_OutputZ); - // tolua_end - static const char * GetClassStatic(void) { return "cHopperEntity"; } protected: @@ -95,7 +92,7 @@ protected: /// Moves one piece to the specified entity's contents' slot. Returns true if contents have changed. bool MoveItemsToSlot(cBlockEntityWithItems & a_Entity, int a_DstSlotNum); -} ; +} ; // tolua_export |