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

Public Member Functions

virtual void handleVersionBasedInitialization (::SemVersion const &originalJsonVersion)
 
virtual void _initializeComponent ()
 
MCAPI EntityPlacerItemComponent (::SharedTypes::v1_20_50::EntityPlacerItemComponent component)
 
MCAPI void _positionAndRotateActor (::Actor &actor, ::Vec3 position, uchar face, ::Vec3 const &playerFeetPos, ::BlockLegacy const *blockLegacy) const
 
MCAPI void _setActorCustomName (::Actor &actor, ::ItemStack const &item) const
 
MCAPI void _useOn (bool &result, ::ItemStack const &initialItemStack, ::ItemStack &currentItemStack, ::Actor &usingActor, ::BlockPos const &pos, uchar face, ::Vec3 const &clickPos)
 
MCAPI bool dispense (::BlockSource &region, ::Container &container, int slot, ::Vec3 const &pos, uchar face) const
 
MCAPI void * $ctor (::SharedTypes::v1_20_50::EntityPlacerItemComponent component)
 
MCAPI void $dtor ()
 
MCAPI void $handleVersionBasedInitialization (::SemVersion const &originalJsonVersion)
 
MCAPI void $_initializeComponent ()
 
bool isNetworkComponent () const override
 
std::unique_ptr< CompoundTagbuildNetworkTag (const cereal::ReflectionCtx &) const override
 
virtual ::std::unique_ptr<::CompoundTagbuildNetworkTag (::cereal::ReflectionCtx const &ctx) const
 
bool initializeFromNetwork (const CompoundTag &, const cereal::ReflectionCtx &) override
 
virtual bool initializeFromNetwork (::CompoundTag const &tag, ::cereal::ReflectionCtx const &ctx)
 
virtual bool checkComponentDataForContentErrors () const
 
virtual void writeSettings ()
 
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 void bindType (::cereal::ReflectionCtx &ctx, ::std::vector<::AllExperiments > const &requiredToggles, ::std::optional<::SemVersion > releasedMinFormatVersion)
 
static MCAPI ::HashedString const & getIdentifier ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 176, ::ActorDefinitionIdentifiermIdentifier
 
::ll::TypedStorage< 8, 24, ::std::vector<::BlockDescriptor > > mAllowedUseBlocks
 
::ll::TypedStorage< 8, 24, ::std::vector<::BlockDescriptor > > mAllowedDispenseBlocks
 
::ll::TypedStorage< 1, 1, bool > mCanUseOnMonsterSpawners
 
::ll::TypedStorage< 1, 1, bool > mShouldContentErrorWithoutLiquidClipped
 
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmOnUseOnSubscription
 
::ll::TypedStorage< 8, 8, ::ComponentItem * > mOwner
 

Member Function Documentation

◆ handleVersionBasedInitialization()

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

Reimplemented from ItemComponent.

◆ _initializeComponent()

virtual void EntityPlacerItemComponent::_initializeComponent ( )
virtual

Reimplemented from ItemComponent.

◆ $vftable()

static MCAPI void ** EntityPlacerItemComponent::$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< ::EntityPlacerItemComponent >::isNetworkComponent ( ) const
nodiscardoverridevirtualinherited

Reimplemented from ItemComponent.


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