summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Enderman.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-08-01 23:05:40 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-08-01 23:15:32 +0200
commitc865fc8ca501e7405da2ce8353628373e4526053 (patch)
tree373f5d8a3347d0ef146f3730bc9073a4bfd94285 /src/Mobs/Enderman.h
parentMerge pull request #1255 from mc-server/NameToUUID (diff)
downloadcuberite-c865fc8ca501e7405da2ce8353628373e4526053.tar
cuberite-c865fc8ca501e7405da2ce8353628373e4526053.tar.gz
cuberite-c865fc8ca501e7405da2ce8353628373e4526053.tar.bz2
cuberite-c865fc8ca501e7405da2ce8353628373e4526053.tar.lz
cuberite-c865fc8ca501e7405da2ce8353628373e4526053.tar.xz
cuberite-c865fc8ca501e7405da2ce8353628373e4526053.tar.zst
cuberite-c865fc8ca501e7405da2ce8353628373e4526053.zip
Diffstat (limited to 'src/Mobs/Enderman.h')
-rw-r--r--src/Mobs/Enderman.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Mobs/Enderman.h b/src/Mobs/Enderman.h
index da857ee09..4583746e7 100644
--- a/src/Mobs/Enderman.h
+++ b/src/Mobs/Enderman.h
@@ -19,12 +19,16 @@ public:
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
virtual void CheckEventSeePlayer(void) override;
+ virtual void CheckEventLostPlayer(void) override;
virtual void EventLosePlayer(void) override;
bool IsScreaming(void) const {return m_bIsScreaming; }
BLOCKTYPE GetCarriedBlock(void) const {return CarriedBlock; }
NIBBLETYPE GetCarriedMeta(void) const {return CarriedMeta; }
+ /** Returns if the current sky light level is sufficient for the enderman to become aggravated */
+ bool CheckLight(void);
+
private:
bool m_bIsScreaming;