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

Public Types

using TriggerSignature = void(::ItemOnUseResult&, ::ItemStackBase&, ::DefinitionTrigger const&, ::RenderParams&)

Public Member Functions

virtual void _initializeComponent (::ComponentItem &owner)
MCAPI LegacyOnHitBlockTriggerItemComponent (::SharedTypes::Legacy::OnHitBlockTriggerItemComponent &&componentData)
MCAPI void * $ctor (::SharedTypes::Legacy::OnHitBlockTriggerItemComponent &&componentData)
MCAPI void $_initializeComponent (::ComponentItem &owner)
virtual bool checkComponentDataForContentErrors () const
virtual void writeSettings ()
virtual bool isNetworkComponent () const
virtual ::std::unique_ptr<::CompoundTag > buildNetworkTag (::cereal::ReflectionCtx const &ctx) const
virtual bool initializeFromNetwork (::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
virtual void handleVersionBasedInitialization (::SemVersion const &originalJsonVersion)
MCAPI bool $checkComponentDataForContentErrors () const
MCAPI void $writeSettings ()
MCAPI bool $isNetworkComponent () const
MCAPI ::std::unique_ptr<::CompoundTag > $buildNetworkTag (::cereal::ReflectionCtx const &ctx) const
MCAPI bool $initializeFromNetwork (::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
MCAPI void $handleVersionBasedInitialization (::SemVersion const &originalJsonVersion)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mOnHitBlockSubscription
::ll::TypedStorage< 8, 64, ::std::optional<::DefinitionTrigger > > mOnHitBlock
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(::ItemOnUseResult &, ::ItemStackBase &, ::DefinitionTrigger const &, ::RenderParams &), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mOnTriggerPublisher
::ll::TypedStorage< 8, 8, ::ComponentItem * > mOwner

Constructor & Destructor Documentation

◆ LegacyOnHitBlockTriggerItemComponent()

MCAPI LegacyOnHitBlockTriggerItemComponent::LegacyOnHitBlockTriggerItemComponent ( ::SharedTypes::Legacy::OnHitBlockTriggerItemComponent && componentData)
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

◆ _initializeComponent()

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

Reimplemented from ItemComponent.

◆ $ctor()

MCAPI void * LegacyOnHitBlockTriggerItemComponent::$ctor ( ::SharedTypes::Legacy::OnHitBlockTriggerItemComponent && componentData)
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 LegacyOnHitBlockTriggerItemComponent::$_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.

◆ $vftable()

MCAPI void ** LegacyOnHitBlockTriggerItemComponent::$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.

◆ $checkComponentDataForContentErrors()

MCAPI bool ItemComponent::$checkComponentDataForContentErrors ( ) 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.

◆ $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.

◆ $buildNetworkTag()

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

◆ $initializeFromNetwork()

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

◆ $handleVersionBasedInitialization()

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