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

MCAPI RecipeIngredient (::RecipeIngredient const &)
 
MCAPI RecipeIngredient (::ReadOnlyBinaryStream &stream)
 
MCAPI RecipeIngredient (::BlockLegacy const &block, ushort stackSize)
 
MCAPI RecipeIngredient (::Block const &block, ushort stackSize)
 
MCAPI RecipeIngredient (::ItemTag const &itemTag, ushort stackSize)
 
MCAPI RecipeIngredient (::std::string_view item, int auxValue, ushort stackSize)
 
MCAPI RecipeIngredient (::Item const &item, int auxValue, ushort stackSize)
 
MCFOLD::RecipeIngredient & operator= (::RecipeIngredient const &)
 
MCAPI void * $ctor (::RecipeIngredient const &)
 
MCAPI void * $ctor (::ReadOnlyBinaryStream &stream)
 
MCAPI void * $ctor (::BlockLegacy const &block, ushort stackSize)
 
MCAPI void * $ctor (::Block const &block, ushort stackSize)
 
MCAPI void * $ctor (::ItemTag const &itemTag, ushort stackSize)
 
MCAPI void * $ctor (::std::string_view item, int auxValue, ushort stackSize)
 
MCAPI void * $ctor (::Item const &item, int auxValue, ushort stackSize)
 
MCFOLD void $dtor ()
 
virtual void serialize (::BinaryStream &stream) const
 
virtual void serialize (::Json::Value &val) const
 
MCAPI operator bool () const
 
MCAPI void * $ctor (::ItemDescriptorCount const &)
 
MCAPI void * $ctor (::Block const &block)
 
MCAPI void * $ctor (::BlockLegacy 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 void _resolve () const
 
MCAPI bool forEachItemUntil (::std::function< bool(::Item const &, short)> func) const
 
MCAPI short getAuxValue () const
 
MCAPI::Block const * getBlock () const
 
MCAPI short getId () const
 
MCAPI int getIdAux () const
 
MCAPI::Item const * getItem () const
 
MCAPI ::WeakPtr<::BlockLegacy const > const & getLegacyBlock () const
 
MCAPI::std::string getRawNameId () const
 
MCAPI::std::string getSerializedNameAndAux () const
 
MCAPI bool isNull () const
 
MCAPI bool isValid (bool shouldResolve) const
 
MCAPI bool sameItem (::ItemDescriptor const &otherItemDescriptor, bool compareAux) const
 
MCAPI ::std::optional<::CompoundTagsave () const
 

Static Public Member Functions

static MCAPI ::RecipeIngredientEMPTY_INGREDIENT ()
 
static MCAPI void ** $vftable ()
 
static MCAPI ::std::optional<::ItemDescriptorfromTag (::CompoundTag const *tag)
 
static MCAPI ::SharedTypes::Legacy::ItemDescriptor toSharedTypes (::ItemDescriptor const &id)
 

Public Attributes

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

Member Function Documentation

◆ serialize()

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

Reimplemented from ItemDescriptor.


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