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

Public Types

using MatingResult = ::std::vector<::WeakEntityRef>

Public Member Functions

MCAPI bool _canBreed (::Actor &owner, ::Player &player, ::ItemStack const &playerItem)
MCAPI::Actor const * _handleMate (::Actor &owner, ::Actor &partner, ::OffspringDefinition const &offspringData)
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 addAdditionalSaveData (::CompoundTag &tag) const
MCAPI bool canMate (::Actor const &owner, ::Actor const &partner) const
MCFOLD void decrementBreedCooldown ()
MCAPI void decrementLoveTimer ()
MCFOLD int getBreedCooldown () const
MCAPI::InteractionResult getInteraction (::Actor &owner, ::Player &player, ::ActorInteraction &interaction)
MCFOLD int getLoveTimer () const
MCAPI ::std::vector<::WeakEntityRefmate (::Actor &owner, ::Actor &partner)
MCAPI bool meetsSittingRequirements (::Actor const &actor) const
MCAPI void readAdditionalSaveData (::Actor &, ::CompoundTag const &tag, ::DataLoadHelper &)
MCAPI void resetLove (::Actor &owner)
MCAPI void setInLove (::Actor &owner, ::Player const *player)
MCFOLD void setLoveTimer (int loveTimer)

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< 8, 8, ::ActorUniqueIDmLoveCause

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