Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PlanterItemComponent Class Reference
Inheritance diagram for PlanterItemComponent:

Classes

struct  BlockPlacementContext

Public Member Functions

virtual void handleVersionBasedInitialization (::SemVersion const &originalJsonVersion)
virtual void _initializeComponent (::ComponentItem &owner)
virtual ::std::unique_ptr<::CompoundTag > buildNetworkTag (::cereal::ReflectionCtx const &ctx) const
virtual bool initializeFromNetwork (::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
MCAPI PlanterItemComponent (::SharedTypes::v1_26_0::PlanterItemComponent component)
MCAPI bool calculatePlacePos (::ItemStackBase const &instance, ::Actor const &entity, uchar &face, ::BlockPos &pos) const
MCAPI void * $ctor (::SharedTypes::v1_26_0::PlanterItemComponent component)
MCAPI void $handleVersionBasedInitialization (::SemVersion const &originalJsonVersion)
MCAPI void $_initializeComponent (::ComponentItem &owner)
MCAPI ::std::unique_ptr<::CompoundTag > $buildNetworkTag (::cereal::ReflectionCtx const &ctx) const
MCAPI bool $initializeFromNetwork (::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
bool isNetworkComponent () const override
std::unique_ptr< CompoundTag > buildNetworkTag (cereal::ReflectionCtx const &) const override
bool initializeFromNetwork (CompoundTag const &, cereal::ReflectionCtx const &) override
virtual bool checkComponentDataForContentErrors () const
virtual void writeSettings ()
MCAPI bool $checkComponentDataForContentErrors () const
MCAPI void $writeSettings ()
MCAPI bool $isNetworkComponent () const

Static Public Member Functions

static MCAPI void bindType (::cereal::ReflectionCtx &ctx, ::std::vector<::AllExperiments > const &requiredToggles, ::std::optional<::SemVersion > releasedMinFormatVersion)
static MCAPI ::PlanterItemComponent::BlockPlacementContext getBlockPlacementContext (::ItemStackBase const &item)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::BlockTypePtr > mBlock
::ll::TypedStorage< 8, 24, ::std::vector<::BlockDescriptor > > mAllowedUseBlocks
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mOnUseOnSubscription
::ll::TypedStorage< 1, 1, bool > mCanUseBlockAsIcon
::ll::TypedStorage< 1, 1, bool > mReplaceBlockItem
::ll::TypedStorage< 1, 1, bool > mAlignedPlacement
::ll::TypedStorage< 8, 8, ::ComponentItem * > mOwner

Constructor & Destructor Documentation

◆ PlanterItemComponent()

MCAPI PlanterItemComponent::PlanterItemComponent ( ::SharedTypes::v1_26_0::PlanterItemComponent component)
explicit
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.

Member Function Documentation

◆ handleVersionBasedInitialization()

virtual void PlanterItemComponent::handleVersionBasedInitialization ( ::SemVersion const & originalJsonVersion)
virtual

Reimplemented from ItemComponent.

◆ _initializeComponent()

virtual void PlanterItemComponent::_initializeComponent ( ::ComponentItem & owner)
virtual

Reimplemented from ItemComponent.

◆ initializeFromNetwork()

virtual bool PlanterItemComponent::initializeFromNetwork ( ::CompoundTag const & tag,
::cereal::ReflectionCtx const & ctx )
virtual

Reimplemented from ItemComponent.

◆ calculatePlacePos()

MCAPI bool PlanterItemComponent::calculatePlacePos ( ::ItemStackBase const & instance,
::Actor const & entity,
uchar & face,
::BlockPos & pos ) 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.

◆ bindType()

MCAPI void PlanterItemComponent::bindType ( ::cereal::ReflectionCtx & ctx,
::std::vector<::AllExperiments > const & requiredToggles,
::std::optional<::SemVersion > releasedMinFormatVersion )
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.

◆ $ctor()

MCAPI void * PlanterItemComponent::$ctor ( ::SharedTypes::v1_26_0::PlanterItemComponent component)
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.

◆ $handleVersionBasedInitialization()

MCAPI void PlanterItemComponent::$handleVersionBasedInitialization ( ::SemVersion const & originalJsonVersion)
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.

◆ $_initializeComponent()

MCAPI void PlanterItemComponent::$_initializeComponent ( ::ComponentItem & 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.

◆ $buildNetworkTag()

MCAPI ::std::unique_ptr<::CompoundTag > PlanterItemComponent::$buildNetworkTag ( ::cereal::ReflectionCtx const & ctx) 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.

◆ $initializeFromNetwork()

MCAPI bool PlanterItemComponent::$initializeFromNetwork ( ::CompoundTag const & tag,
::cereal::ReflectionCtx const & ctx )
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.

◆ $vftable()

MCAPI void ** PlanterItemComponent::$vftable ( )
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.

◆ isNetworkComponent()

bool NetworkedItemComponent< ::PlanterItemComponent >::isNetworkComponent ( ) const
nodiscardoverridevirtualinherited

Reimplemented from ItemComponent.

◆ $checkComponentDataForContentErrors()

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.

◆ $writeSettings()

MCAPI void ItemComponent::$writeSettings ( )
inherited
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.

◆ $isNetworkComponent()

MCAPI bool ItemComponent::$isNetworkComponent ( ) const
inherited
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: