Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
MobEffectComponent Class Reference

Public Member Functions

MCAPI void addAdditionalSaveData (::CompoundTag &tag, ::Actor const &owner) const
MCAPI void readAdditionalSaveData (::Actor &owner, ::CompoundTag const &tag, ::DataLoadHelper &)
MCAPI void tick (::Actor &owner)

Public Attributes

::ll::TypedStorage< 4, 4, float > mEffectRange
::ll::TypedStorage< 4, 4, int > mEffectId
::ll::TypedStorage< 4, 4, ::EffectDuration > mEffectTime
::ll::TypedStorage< 2, 2, ushort > mCooldownTicks
::ll::TypedStorage< 8, 64, ::ActorFilterGroup > mEntityFilter
::ll::TypedStorage< 1, 1, bool > mIsAmbient
::ll::TypedStorage< 8, 24, ::std::optional<::ExpiringTick > > mCooldown

Member Function Documentation

◆ addAdditionalSaveData()

MCAPI void MobEffectComponent::addAdditionalSaveData ( ::CompoundTag & tag,
::Actor const & owner ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ readAdditionalSaveData()

MCAPI void MobEffectComponent::readAdditionalSaveData ( ::Actor & owner,
::CompoundTag const & tag,
::DataLoadHelper &  )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: