LeviLamina
Loading...
Searching...
No Matches
LegacyOnDigTriggerItemComponent Class Reference
+ Inheritance diagram for LegacyOnDigTriggerItemComponent:

Public Types

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

Public Member Functions

virtual void handleVersionBasedInitialization (::SemVersion const &originalJsonVersion)
 
virtual void _initializeComponent ()
 
MCAPI LegacyOnDigTriggerItemComponent (::LegacyOnDigTriggerItemComponentData &&componentData)
 
MCAPI void _onMineBlock (bool &result, ::ItemStack &item, ::Block const &block, int x, int y, int z, ::Actor &owner)
 
MCAPI void * $ctor (::LegacyOnDigTriggerItemComponentData &&componentData)
 
MCAPI void $handleVersionBasedInitialization (::SemVersion const &originalJsonVersion)
 
MCAPI void $_initializeComponent ()
 
MCAPI void $dtor ()
 
virtual bool checkComponentDataForContentErrors () const
 
virtual void writeSettings ()
 
virtual bool isNetworkComponent () const
 
virtual ::std::unique_ptr<::CompoundTagbuildNetworkTag (::cereal::ReflectionCtx const &ctx) const
 
virtual bool initializeFromNetwork (::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
 
MCFOLD bool $checkComponentDataForContentErrors () const
 
MCFOLD void $writeSettings ()
 
MCFOLD bool $isNetworkComponent () const
 
MCFOLD ::std::unique_ptr<::CompoundTag$buildNetworkTag (::cereal::ReflectionCtx const &ctx) const
 
MCFOLD bool $initializeFromNetwork (::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
 

Static Public Member Functions

static MCAPI ::HashedString const & getIdentifier ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 1, 1, bool > mCanUseOnDig
 
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmOnMineBlockSubscription
 
::ll::TypedStorage< 8, 264, ::std::optional<::DefinitionTrigger > > mOnDigDefault
 
::ll::TypedStorage< 8, 24, ::std::vector<::DiggerBlockDefinitionTrigger > > mOnDigTriggers
 
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(bool &, ::ItemStackBase &, ::DefinitionTrigger const &, ::RenderParams &), ::Bedrock::PubSub::ThreadModel::MultiThreaded > > mOnTriggerPublisher
 
::ll::TypedStorage< 8, 8, ::ComponentItem * > mOwner
 

Member Function Documentation

◆ handleVersionBasedInitialization()

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

Reimplemented from ItemComponent.

◆ _initializeComponent()

virtual void LegacyOnDigTriggerItemComponent::_initializeComponent ( )
virtual

Reimplemented from ItemComponent.


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