16class MobEffectInstance {
20 ::ll::TypedStorage<4, 4, uint> mId;
21 ::ll::TypedStorage<4, 4, ::EffectDuration> mDuration;
22 ::ll::TypedStorage<4, 8, ::std::optional<::EffectDuration>> mDurationEasy;
23 ::ll::TypedStorage<4, 8, ::std::optional<::EffectDuration>> mDurationNormal;
24 ::ll::TypedStorage<4, 8, ::std::optional<::EffectDuration>> mDurationHard;
25 ::ll::TypedStorage<4, 4, int> mAmplifier;
26 ::ll::TypedStorage<8, 24, ::std::vector<::MobEffectInstance>> mEffects;
27 ::ll::TypedStorage<1, 1, bool> mDisplayOnScreenTextureAnimation;
28 ::ll::TypedStorage<1, 1, bool> mIsCounterPausedThisTick;
29 ::ll::TypedStorage<1, 1, bool> mAmbient;
30 ::ll::TypedStorage<1, 1, bool> mEffectVisible;
31 ::ll::TypedStorage<1, 1, bool> mIsLeveled;
32 ::ll::TypedStorage<8, 96, ::MobEffect::FactorCalculationData> mFactorCalculationData;
37 MobEffectInstance& operator=(MobEffectInstance
const&);
38 MobEffectInstance(MobEffectInstance
const&);
46 MCAPI ::std::string getDisplayName()
const;
48 MCAPI ::MobEffectInstance& operator=(::MobEffectInstance&&);
50 MCAPI ::std::unique_ptr<::CompoundTag> save()
const;
54 MCNAPI
void update(::MobEffectInstance
const& takeOver);
56 MCAPI
void updateEffects(
::Actor& mob)
const;
58 MCAPI ~MobEffectInstance();
64 MCAPI static ::mce::Color getAverageColorValue(::std::vector<::MobEffectInstance>
const& effects);
66 MCAPI static ::MobEffectInstance load(
::CompoundTag const& tag);
72 MCNAPI static ::MobEffectInstance
const&
NO_EFFECT();
74 MCAPI
static float& splashDurationMultiplier();