19 ::ll::TypedStorage<4, 4, int> mCooldownTime;
20 ::ll::TypedStorage<4, 4, int> mMoveCooldownTime;
21 ::ll::TypedStorage<1, 1, bool> mTransferedFromChestMinecart;
22 ::ll::TypedStorage<1, 1, bool> mIsEntity;
23 ::ll::TypedStorage<4, 4, int> mMoveItemSpeed;
33 MCAPI Hopper(
int moveItemSpeed,
bool isEntity);
37 MCAPI ::Container* _getAttachedContainerInBlock(
::BlockSource& region,
::Vec3 const& pos,
int attachedFace);
39 MCAPI ::std::vector<::Container*>
44 MCAPI ::std::vector<::Container*> _getContainersAt(
::BlockSource& region,
::Vec3 const& pos);
46 MCAPI ::std::vector<::Container*> _getSourceContainers(
::BlockSource& region,
::Vec3 const& pos);
56 MCAPI
bool _tryMoveItems(
71 MCAPI
bool _tryTakeInItemFromSlot(
79 MCFOLD
int getCooldownTime()
const;
81 MCFOLD
bool isOnCooldown()
const;
83 MCAPI
bool isOnMoveCooldown()
const;
85 MCFOLD
void setCooldownTime(
int time);
87 MCFOLD
void setMoveCooldownTime(
int time);
93 MCAPI
void* $ctor(
int moveItemSpeed,
bool isEntity);