summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Blaze.h
diff options
context:
space:
mode:
authorRorkh <rorkh@internet.ru>2021-09-18 11:10:31 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-10-02 22:18:18 +0200
commit4c5d9d38f45ae7c18a3e9799152305757a8a1d2a (patch)
tree6c369d0901427be8ab92bef9cd229e60a21486a0 /src/Mobs/Blaze.h
parentSnipe skeleton achievment (diff)
downloadcuberite-4c5d9d38f45ae7c18a3e9799152305757a8a1d2a.tar
cuberite-4c5d9d38f45ae7c18a3e9799152305757a8a1d2a.tar.gz
cuberite-4c5d9d38f45ae7c18a3e9799152305757a8a1d2a.tar.bz2
cuberite-4c5d9d38f45ae7c18a3e9799152305757a8a1d2a.tar.lz
cuberite-4c5d9d38f45ae7c18a3e9799152305757a8a1d2a.tar.xz
cuberite-4c5d9d38f45ae7c18a3e9799152305757a8a1d2a.tar.zst
cuberite-4c5d9d38f45ae7c18a3e9799152305757a8a1d2a.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Blaze.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/Mobs/Blaze.h b/src/Mobs/Blaze.h
index 6f1d240a9..9ebc1ffcf 100644
--- a/src/Mobs/Blaze.h
+++ b/src/Mobs/Blaze.h
@@ -18,11 +18,13 @@ public:
CLASS_PROTODEF(cBlaze)
- virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
- virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
+private:
+
virtual bool Attack(std::chrono::milliseconds a_Dt) override;
+ virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
+ virtual bool IsNetherNative(void) override { return true; }
+ virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
-private:
/** Specifies whether or not the blaze has started shooting fireballs. */
bool m_IsCharging;