summaryrefslogtreecommitdiffstats
path: root/src/Entities/Floater.h
diff options
context:
space:
mode:
authorAlex <sweet.giorni@gmail.com>2017-02-20 10:03:19 +0100
committerMattes D <github@xoft.cz>2017-02-20 10:03:19 +0100
commit9cb1ad546f09066cd9949fd0e4fa7fd2e54dd519 (patch)
tree628af192ab1a3827ee01fb7c9e7e6cadf62da4ca /src/Entities/Floater.h
parentDead bushes will generate in mega mega taigas (#3571) (diff)
downloadcuberite-9cb1ad546f09066cd9949fd0e4fa7fd2e54dd519.tar
cuberite-9cb1ad546f09066cd9949fd0e4fa7fd2e54dd519.tar.gz
cuberite-9cb1ad546f09066cd9949fd0e4fa7fd2e54dd519.tar.bz2
cuberite-9cb1ad546f09066cd9949fd0e4fa7fd2e54dd519.tar.lz
cuberite-9cb1ad546f09066cd9949fd0e4fa7fd2e54dd519.tar.xz
cuberite-9cb1ad546f09066cd9949fd0e4fa7fd2e54dd519.tar.zst
cuberite-9cb1ad546f09066cd9949fd0e4fa7fd2e54dd519.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Floater.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Entities/Floater.h b/src/Entities/Floater.h
index 89ee8cc08..59402393f 100644
--- a/src/Entities/Floater.h
+++ b/src/Entities/Floater.h
@@ -27,12 +27,16 @@ public:
bool CanPickup(void) const { return m_CanPickupItem; }
UInt32 GetOwnerID(void) const { return m_PlayerID; }
UInt32 GetAttachedMobID(void) const { return m_AttachedMobID; }
+ Vector3d GetBitePos(void) const { return m_BitePos; }
// tolua_end
protected:
// Position
Vector3d m_ParticlePos;
+ // Position just before the floater gets pulled under by a fish
+ Vector3d m_BitePos;
+
// Bool needed to check if you can get a fish.
bool m_CanPickupItem;