diff options
author | andrew <xdotftw@gmail.com> | 2014-03-25 09:32:58 +0100 |
---|---|---|
committer | andrew <xdotftw@gmail.com> | 2014-03-25 09:32:58 +0100 |
commit | 0fe1e50ffc744d861744e4aa4905e1b4b15e10fd (patch) | |
tree | 20bb1e5c88cf412a3b3edb2608c4aedb6c1e5497 /src/Mobs/Wither.h | |
parent | Minor fixes (diff) | |
download | cuberite-0fe1e50ffc744d861744e4aa4905e1b4b15e10fd.tar cuberite-0fe1e50ffc744d861744e4aa4905e1b4b15e10fd.tar.gz cuberite-0fe1e50ffc744d861744e4aa4905e1b4b15e10fd.tar.bz2 cuberite-0fe1e50ffc744d861744e4aa4905e1b4b15e10fd.tar.lz cuberite-0fe1e50ffc744d861744e4aa4905e1b4b15e10fd.tar.xz cuberite-0fe1e50ffc744d861744e4aa4905e1b4b15e10fd.tar.zst cuberite-0fe1e50ffc744d861744e4aa4905e1b4b15e10fd.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Wither.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Mobs/Wither.h b/src/Mobs/Wither.h index d09e3607a..52666a190 100644 --- a/src/Mobs/Wither.h +++ b/src/Mobs/Wither.h @@ -20,6 +20,9 @@ public: unsigned int GetNumInvulnerableTicks(void) const { return m_InvulnerableTicks; } void SetNumInvulnerableTicks(unsigned int a_Ticks) { m_InvulnerableTicks = a_Ticks; } + + /** Returns whether the wither is invulnerable to arrows. */ + bool IsArmored(void) const; // cEntity overrides virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override; |