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

Public Member Functions

MCAPI ProjectileItemComponent (::SharedTypes::v1_20_50::ProjectileItemComponent component)
 
MCAPI ProjectileItemComponent (::ActorType actorType, float minCriticalPower)
 
MCAPI bool dispense (::BlockSource &region, ::Container &container, int slot, ::Vec3 const &pos, uchar face) const
 
MCAPI::Vec3 getShootDir (::Player const &player, float angleOffset) const
 
MCAPI::Actor * shootProjectile (::BlockSource &region, ::Vec3 const &aimPos, ::Vec3 const &aimDir, float power, ::Player *player) const
 
MCAPI void * $ctor (::SharedTypes::v1_20_50::ProjectileItemComponent component)
 
MCAPI void * $ctor (::ActorType actorType, float minCriticalPower)
 
MCAPI void $dtor ()
 
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 ()
 
virtual void handleVersionBasedInitialization (::SemVersion const &originalJsonVersion)
 
virtual void _initializeComponent ()
 
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)
 
MCFOLD void $_initializeComponent ()
 

Static Public Member Functions

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

Public Attributes

::ll::TypedStorage< 4, 4, float > mMinCriticalPower
 
::ll::TypedStorage< 8, 176, ::ActorDefinitionIdentifiermActorIdentifier
 
::ll::TypedStorage< 8, 8, ::ComponentItem * > mOwner
 

Member Function Documentation

◆ $vftable()

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

Reimplemented from ItemComponent.


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