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

Public Member Functions

MCAPI void appendFormattedHovertext (::ItemStackBase const &item, ::Bedrock::Safety::RedactableString &hovertext, bool) const
MCAPI::mce::Color getColor (::CompoundTag const *userData, ::ItemDescriptor const &) const
MCAPI void setColor (::ItemStackBase &instance, ::mce::Color const &color) const
bool isNetworkComponent () const override
std::unique_ptr< CompoundTag > buildNetworkTag (cereal::ReflectionCtx const &) const override
virtual ::std::unique_ptr<::CompoundTag > buildNetworkTag (::cereal::ReflectionCtx const &ctx) const
bool initializeFromNetwork (CompoundTag const &, cereal::ReflectionCtx const &) 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 (::ComponentItem &owner)
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)
MCAPI void $_initializeComponent (::ComponentItem &owner)

Static Public Member Functions

static MCAPI void bindType (::cereal::ReflectionCtx &ctx, ::std::vector<::AllExperiments > const &requiredToggles, ::std::optional<::SemVersion > releasedMinFormatVersion)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 4, 16, ::SharedTypes::Color255RGB > mDefaultColor
::ll::TypedStorage< 8, 8, ::ComponentItem * > mOwner

Member Function Documentation

◆ appendFormattedHovertext()

MCAPI void DyeableItemComponent::appendFormattedHovertext ( ::ItemStackBase const & item,
::Bedrock::Safety::RedactableString & hovertext,
bool  ) const
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.

◆ getColor()

MCAPI::mce::Color DyeableItemComponent::getColor ( ::CompoundTag const * userData,
::ItemDescriptor const &  ) const
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.

◆ setColor()

MCAPI void DyeableItemComponent::setColor ( ::ItemStackBase & instance,
::mce::Color const & color ) const
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.

◆ bindType()

MCAPI void DyeableItemComponent::bindType ( ::cereal::ReflectionCtx & ctx,
::std::vector<::AllExperiments > const & requiredToggles,
::std::optional<::SemVersion > releasedMinFormatVersion )
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.

◆ $vftable()

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

Reimplemented from ItemComponent.

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

◆ $_initializeComponent()

MCAPI void ItemComponent::$_initializeComponent ( ::ComponentItem & owner)
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: