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

Static Public Member Functions

static MCAPI bool _isDefaultAttribute (::AttributeInstance const &instance, ::AttributeInstance const &defaults)
static MCAPI ::AttributeInstanceRef _legacyGetInstance (::BaseAttributeMap &attributes, ::std::string const &attributeName)
static MCAPI ::std::string const & _legacyGetName (::std::string const &attributeName)
static MCAPI ::std::unique_ptr<::CompoundTag > _saveAttribute (::AttributeInstance const &instance)
static MCAPI void loadAttributes (::BaseAttributeMap *attributes, ::ListTag const *list, ::BaseAttributeMap const *defaults)
static MCAPI ::std::unique_ptr<::ListTag > saveAttributes (::BaseAttributeMap const *attributes, ::BaseAttributeMap const *defaults)
static MCAPI ::Attribute const & ABSORPTION ()
static MCAPI ::Attribute const & AIR_DRAG_MODIFIER ()
static MCAPI ::Attribute const & ATTACK_DAMAGE ()
static MCAPI ::Attribute const & BOUNCINESS ()
static MCAPI ::Attribute const & FOLLOW_RANGE ()
static MCAPI ::Attribute const & FRICTION_MODIFIER ()
static MCAPI ::Attribute const & HEALTH ()
static MCAPI ::Attribute const & JUMP_STRENGTH ()
static MCAPI ::Attribute const & KNOCKBACK_RESISTANCE ()
static MCAPI ::Attribute const & LAVA_MOVEMENT_SPEED ()
static MCAPI ::Attribute const & LUCK ()
static MCAPI ::Attribute const & MOVEMENT_SPEED ()
static MCAPI ::Attribute const & UNDERWATER_MOVEMENT_SPEED ()

Member Function Documentation

◆ _isDefaultAttribute()

MCAPI bool SharedAttributes::_isDefaultAttribute ( ::AttributeInstance const & instance,
::AttributeInstance const & defaults )
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.

◆ _legacyGetInstance()

MCAPI ::AttributeInstanceRef SharedAttributes::_legacyGetInstance ( ::BaseAttributeMap & attributes,
::std::string const & attributeName )
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.

◆ _legacyGetName()

MCAPI ::std::string const & SharedAttributes::_legacyGetName ( ::std::string const & attributeName)
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.

◆ _saveAttribute()

MCAPI ::std::unique_ptr<::CompoundTag > SharedAttributes::_saveAttribute ( ::AttributeInstance const & instance)
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.

◆ loadAttributes()

MCAPI void SharedAttributes::loadAttributes ( ::BaseAttributeMap * attributes,
::ListTag const * list,
::BaseAttributeMap const * defaults )
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.

◆ saveAttributes()

MCAPI ::std::unique_ptr<::ListTag > SharedAttributes::saveAttributes ( ::BaseAttributeMap const * attributes,
::BaseAttributeMap const * defaults )
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.

◆ AIR_DRAG_MODIFIER()

MCAPI ::Attribute const & SharedAttributes::AIR_DRAG_MODIFIER ( )
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.

◆ BOUNCINESS()

MCAPI ::Attribute const & SharedAttributes::BOUNCINESS ( )
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.

◆ FRICTION_MODIFIER()

MCAPI ::Attribute const & SharedAttributes::FRICTION_MODIFIER ( )
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: