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

Public Member Functions

MCAPI void addAdditionalSaveData (::CompoundTag &tag) const
MCAPI bool hasValidBlockAtHomePos (::BlockSource const &region) const
MCAPI void readAdditionalSaveData (::Actor &, ::CompoundTag const &tag, ::DataLoadHelper &dataLoadHelper)
MCAPI void tick (::Actor &owner)

Public Attributes

::ll::TypedStorage< 4, 4, ::SharedTypes::v1_26_50::HomeComponentDefinition::RestrictionType > mRestrictionType
::ll::TypedStorage< 4, 4, int > mRestrictionRadius
::ll::TypedStorage< 4, 4, int > mRestrictionRadiusSqr
::ll::TypedStorage< 4, 4, int > mCooldownTicksMax
::ll::TypedStorage< 4, 4, int > mCooldownTicks
::ll::TypedStorage< 8, 24, ::std::vector<::BlockType const * > > mHomeBlocks
::ll::TypedStorage< 4, 12, ::BlockPos > mHomePos
::ll::TypedStorage< 4, 4, ::DimensionType > mDimensionId

Member Function Documentation

◆ addAdditionalSaveData()

MCAPI void HomeComponent::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.

◆ hasValidBlockAtHomePos()

MCAPI bool HomeComponent::hasValidBlockAtHomePos ( ::BlockSource const & region) 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.

◆ readAdditionalSaveData()

MCAPI void HomeComponent::readAdditionalSaveData ( ::Actor & ,
::CompoundTag const & tag,
::DataLoadHelper & 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.

◆ tick()

MCAPI void HomeComponent::tick ( ::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.

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