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

Public Types

enum class  InternalType : uchar {
  Invalid = 0 , Default = 1 , Molang = 2 , ItemTag = 3 ,
  Deferred = 4 , ComplexAlias = 5
}

Public Member Functions

virtual void serialize (::BinaryStream &stream) const
virtual void serialize (::Json::Value &val) const
MCAPI void * $ctor (::ReadOnlyBinaryStream &stream)
MCAPI void * $ctor (::Block const &block)
MCAPI void * $ctor (::BlockType const &block)
MCAPI void * $ctor (::ItemTag const &itemTag)
MCAPI void * $ctor (::std::string_view fullName, int itemAux)
MCAPI void * $ctor (::Item const &item, int auxValue)
MCAPI void * $ctor (::Json::Value const &val, ::MolangVersion molangVersion)
MCAPI void $serialize (::BinaryStream &stream) const
MCAPI void $serialize (::Json::Value &val) const
MCAPI bool forEachItemUntil (::brstd::function_ref< bool(::Item const &, short)> func) const
MCAPI short getAuxValue () const
MCAPI::Block const * getBlock () const
MCAPI::BlockType const * getBlockType () const
MCAPI int getIdAux () const
MCAPI::Item const * getItem () const
MCAPI::std::string getRawNameId () const
MCAPI::std::string getSerializedNameAndAux (bool removeInvalidAux) const
MCAPI bool isNull () const
MCAPI bool isValid (bool shouldResolve) const
MCAPI operator::ItemInstance () const
MCAPI bool sameItem (::ItemDescriptor const &otherItemDescriptor, bool compareAux) const

Static Public Member Functions

static MCAPI ::RecipeIngredient & EMPTY_INGREDIENT ()
static MCAPI void ** $vftable ()
static MCAPI void bindType (::cereal::ReflectionCtx &ctx)
static MCAPI void fromSharedTypes (::ItemDescriptor &instance, ::SharedTypes::Legacy::ItemDescriptor const &desc)
static MCAPI ::std::optional<::ItemDescriptor > fromTag (::CompoundTag const *tag)

Public Attributes

::ll::TypedStorage< 2, 2, ushort > mStackSize
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ItemDescriptor::BaseDescriptor > > mImpl

Member Function Documentation

◆ $vftable()

MCAPI void ** RecipeIngredient::$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.

◆ serialize()

virtual void ItemDescriptorCount::serialize ( ::BinaryStream & stream) const
virtualinherited

Reimplemented from ItemDescriptor.

◆ $ctor() [1/4]

MCAPI void * ItemDescriptorCount::$ctor ( ::ReadOnlyBinaryStream & stream)
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.

◆ $ctor() [2/4]

MCAPI void * ItemDescriptor::$ctor ( ::Block const & block)
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.

◆ $ctor() [3/4]

MCAPI void * ItemDescriptor::$ctor ( ::BlockType const & block)
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.

◆ $ctor() [4/4]

MCAPI void * ItemDescriptor::$ctor ( ::Json::Value const & val,
::MolangVersion molangVersion )
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.

◆ operator::ItemInstance()

MCAPI ItemDescriptor::operator::ItemInstance ( ) const
explicitinherited
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 ItemDescriptor::bindType ( ::cereal::ReflectionCtx & ctx)
staticinherited
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.

◆ fromSharedTypes()

MCAPI void ItemDescriptor::fromSharedTypes ( ::ItemDescriptor & instance,
::SharedTypes::Legacy::ItemDescriptor const & desc )
staticinherited
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: