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

Public Member Functions

MCAPI void setCooldownTimeInTicks (int const &seconds)
MCAPI void setEffectTimeInTicks (int const &seconds)
MCAPI void setEffectTimeWithInfiniteString (::std::string const &duration)
MCAPI void setMobEffectByName (::std::string const &mobEffect)

Static Public Member Functions

static MCAPI void buildSchema (::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::MobEffectDefinition > > &root)

Public Attributes

::ll::TypedStorage< 4, 4, float > mEffectRange
::ll::TypedStorage< 4, 4, int > mEffectId
::ll::TypedStorage< 4, 4, ::EffectDuration > mEffectTime
::ll::TypedStorage< 4, 4, int > mCooldownTicks
::ll::TypedStorage< 8, 64, ::ActorFilterGroup > mEntityFilter
::ll::TypedStorage< 1, 1, bool > mIsAmbient

Member Function Documentation

◆ setCooldownTimeInTicks()

MCAPI void MobEffectDefinition::setCooldownTimeInTicks ( int const & seconds)
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.

◆ setEffectTimeInTicks()

MCAPI void MobEffectDefinition::setEffectTimeInTicks ( int const & seconds)
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.

◆ setEffectTimeWithInfiniteString()

MCAPI void MobEffectDefinition::setEffectTimeWithInfiniteString ( ::std::string const & duration)
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.

◆ setMobEffectByName()

MCAPI void MobEffectDefinition::setMobEffectByName ( ::std::string const & mobEffect)
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.

◆ buildSchema()

MCAPI void MobEffectDefinition::buildSchema ( ::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::MobEffectDefinition > > & root)
static
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: