From 4c5d9d38f45ae7c18a3e9799152305757a8a1d2a Mon Sep 17 00:00:00 2001 From: Rorkh Date: Sat, 18 Sep 2021 14:10:31 +0500 Subject: Only nether-native mobs can see through lava --- src/Mobs/Monster.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Mobs/Monster.h') diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h index 410754663..0127ec4ce 100644 --- a/src/Mobs/Monster.h +++ b/src/Mobs/Monster.h @@ -108,6 +108,10 @@ public: /** Reads the monster configuration for the specified monster name and assigns it to this object. */ void GetMonsterConfig(const AString & a_Name); + /** Returns whether this mob spawns in the Nether in Vanilla. + This is a fixed value and is not affected by custom mob spawning settings. */ + virtual bool IsNetherNative(void); + /** Returns whether this mob is undead (skeleton, zombie, etc.) */ virtual bool IsUndead(void); -- cgit v1.2.3