LeviLamina
Loading...
Searching...
No Matches
BreedableComponent Class Reference

Classes

struct  MatingResult
 

Public Member Functions

MCAPI bool _canBreed (::Actor &owner, ::Player &player, ::ItemStack const &playerItem)
 
MCAPI ::std::optional<::BreedableType_determineBreedType (::Actor const &partner) const
 
MCAPI::Actor * _handleMate (::Actor &owner, ::Actor &partner)
 
MCAPI void _handlePregnancy (::Actor &owner, ::Actor &partner)
 
MCAPI bool _meetsEnvironmentRequirements (::Actor &owner) const
 
MCAPI void _spawnExperienceOrbs (::Actor &owner)
 
MCAPI void _spawnLoveParticles (::Actor &owner)
 
MCAPI void _useBreedItem (::Actor &owner, ::Player &player, ::ItemStack const &)
 
MCAPI bool getInteraction (::Actor &owner, ::Player &player, ::ActorInteraction &interaction)
 
MCAPI::Player * getLoveCause (::Actor const &owner) const
 
MCAPI::BreedableComponent::MatingResult mate (::Actor &owner, ::Actor &partner)
 
MCAPI bool meetsSittingRequirements (::Actor const &actor) const
 

Static Public Member Functions

static MCAPI void setOffspringAttributesWithParentCentricBlending (::MutableAttributeWithContext &offspring, ::AttributeInstance const &owner, ::AttributeInstance const &partner, ::IRandom &random, float attributeRangeMin, float attributeRangeMax)
 

Public Attributes

::ll::TypedStorage< 8, 8, ::BreedableDefinition const * > mStaticData
 
::ll::TypedStorage< 4, 4, int > mLoveTimer
 
::ll::TypedStorage< 4, 4, int > mBreedCooldown
 
::ll::TypedStorage< 4, 4, int > mBreedCooldownTime
 
::ll::TypedStorage< 1, 1, bool > mInheritTamed
 
::ll::TypedStorage< 1, 1, bool > mCausesPregnancy
 
::ll::TypedStorage< 8, 8, ::ActorUniqueIDmLoveCause
 

Member Function Documentation

◆ _canBreed()

MCAPI bool BreedableComponent::_canBreed ( ::Actor & owner,
::Player & player,
::ItemStack const & playerItem )
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.

◆ _determineBreedType()

MCAPI ::std::optional<::BreedableType > BreedableComponent::_determineBreedType ( ::Actor const & partner) 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.

◆ _handleMate()

MCAPI::Actor * BreedableComponent::_handleMate ( ::Actor & owner,
::Actor & partner )
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.

◆ _handlePregnancy()

MCAPI void BreedableComponent::_handlePregnancy ( ::Actor & owner,
::Actor & partner )
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.

◆ _meetsEnvironmentRequirements()

MCAPI bool BreedableComponent::_meetsEnvironmentRequirements ( ::Actor & 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.

◆ _spawnExperienceOrbs()

MCAPI void BreedableComponent::_spawnExperienceOrbs ( ::Actor & owner)
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.

◆ _spawnLoveParticles()

MCAPI void BreedableComponent::_spawnLoveParticles ( ::Actor & owner)
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.

◆ _useBreedItem()

MCAPI void BreedableComponent::_useBreedItem ( ::Actor & owner,
::Player & player,
::ItemStack 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 bool BreedableComponent::getInteraction ( ::Actor & owner,
::Player & player,
::ActorInteraction & interaction )
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.

◆ getLoveCause()

MCAPI::Player * BreedableComponent::getLoveCause ( ::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.

◆ mate()

MCAPI::BreedableComponent::MatingResult BreedableComponent::mate ( ::Actor & owner,
::Actor & partner )
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.

◆ meetsSittingRequirements()

MCAPI bool BreedableComponent::meetsSittingRequirements ( ::Actor const & actor) 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.

◆ setOffspringAttributesWithParentCentricBlending()

static MCAPI void BreedableComponent::setOffspringAttributesWithParentCentricBlending ( ::MutableAttributeWithContext & offspring,
::AttributeInstance const & owner,
::AttributeInstance const & partner,
::IRandom & random,
float attributeRangeMin,
float attributeRangeMax )
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: