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<1, 1, bool> mDisplayOnScreenTextureAnimation;
27 ::ll::TypedStorage<1, 1, bool> mIsCounterPausedThisTick;
28 ::ll::TypedStorage<1, 1, bool> mAmbient;
29 ::ll::TypedStorage<1, 1, bool> mEffectVisible;
30 ::ll::TypedStorage<1, 1, bool> mIsLeveled;
31 ::ll::TypedStorage<8, 96, ::MobEffect::FactorCalculationData> mFactorCalculationData;
43 MCAPI ::std::string getDisplayName()
const;
45 MCAPI ::std::unique_ptr<::CompoundTag> save()
const;
47 MCAPI
void updateEffects(
::Actor& mob)
const;
53 MCAPI static ::mce::Color getAverageColorValue(::std::vector<::MobEffectInstance>
const& effects);
55 MCAPI static ::MobEffectInstance load(
::CompoundTag const& tag);
61 MCAPI static ::MobEffectInstance
const& NO_EFFECT();
63 MCAPI
static float& splashDurationMultiplier();