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

Public Types

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

Public Member Functions

virtual void _initializeComponent ()
 
MCAPI LegacyOnUseOnTriggerItemComponent (::OnUseOnItemComponentLegacyFactoryData &&data)
 
MCAPI void _useOn (bool &result, ::ItemStack const &currentItemStack, ::ItemStack &entity, ::Actor &pos, ::BlockPos const &face, uchar clickPos, ::Vec3 const &initialItemStack)
 
MCAPI void * $ctor (::OnUseOnItemComponentLegacyFactoryData &&data)
 
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)
 
virtual void handleVersionBasedInitialization (::SemVersion const &originalJsonVersion)
 
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)
 
MCFOLD void $handleVersionBasedInitialization (::SemVersion const &originalJsonVersion)
 

Static Public Member Functions

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

Public Attributes

::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmOnUseOnSubscription
 
::ll::TypedStorage< 8, 264, ::std::optional<::DefinitionTrigger > > mOnUseOnTrigger
 
::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

◆ _initializeComponent()

virtual void LegacyOnUseOnTriggerItemComponent::_initializeComponent ( )
virtual

Reimplemented from ItemComponent.


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