mirror of
https://github.com/neoStudiosLCE/neoLegacy.git
synced 2026-05-21 22:55:04 +00:00
Add dimension-aware tracking for boss mobs and update the boss health GUI system to maintain independent state for each dimension (Overworld, Nether, End). This prevents conflicts when multiple bosses exist across different dimensions simultaneously. - Add `getDimension()` to `BossMob` base class and implement in `EnderDragon` and `WitherBoss` - Replace static boss GUI state with dimension-indexed storage - Introduce `getIndexFromDimension()` helper for dimension mapping - Update rendering logic to use per-dimension state - Isolate darkening effects and health display per dimension Ported from LCERenewed commit 5ec8a0e41ba8146aba450258d8620cd3cb0299e0 by 3UR
10 lines
176 B
C++
10 lines
176 B
C++
#pragma once
|
|
|
|
class BossMob
|
|
{
|
|
public:
|
|
virtual float getMaxHealth() = 0;
|
|
virtual float getHealth() = 0;
|
|
virtual wstring getAName() = 0;
|
|
virtual int getDimension() = 0;
|
|
}; |