Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
AgeableComponent Struct Reference

Public Member Functions

MCAPI::Interaction _growthToggle (::Actor &actor, ::Player &player, ::AgeableDefinition const &definition, ::ItemStack const &item, bool growthPaused, ::HandSlot handSlot)
MCAPI void addAdditionalSaveData (::CompoundTag &tag) const
MCAPI::Interaction getInteraction (::Actor &actor, ::Player &player, ::HandSlot handSlot)
MCAPI void readAdditionalSaveData (::Actor &, ::CompoundTag const &tag, ::DataLoadHelper &)

Public Attributes

::ll::TypedStorage< 4, 4, int > mAge
::ll::TypedStorage< 1, 1, bool > mGrowthPaused

Member Function Documentation

◆ _growthToggle()

MCAPI::Interaction AgeableComponent::_growthToggle ( ::Actor & actor,
::Player & player,
::AgeableDefinition const & definition,
::ItemStack const & item,
bool growthPaused,
::HandSlot handSlot )
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.

◆ addAdditionalSaveData()

MCAPI void AgeableComponent::addAdditionalSaveData ( ::CompoundTag & tag) 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.

◆ getInteraction()

MCAPI::Interaction AgeableComponent::getInteraction ( ::Actor & actor,
::Player & player,
::HandSlot handSlot )
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 AgeableComponent::readAdditionalSaveData ( ::Actor & ,
::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 struct was generated from the following file: