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

Public Types

enum class  IngredientSearchMode : int { AllPermutations = 0 , FirstPermutation = 1 }
using Ingredients = ::std::vector<::RecipeIngredient>
using ResultList = ::std::vector<::ItemInstance>
using UnloadedItemInstanceResultList = ::std::vector<::NetworkItemInstanceDescriptor>

Public Member Functions

virtual bool matches (::CraftingContainer const &craftSlots, ::CraftingContext const &) const
virtual ::std::vector<::ItemInstance > const & assemble (::CraftingContainer &craftSlots, ::CraftingContext &) const
virtual ::std::vector<::ItemInstance > const & getResultItems () const
virtual int getCraftingSize () const
virtual::RecipeIngredient const & getIngredient (int, int) const
virtual int size () const
MCAPI bool $matches (::CraftingContainer const &craftSlots, ::CraftingContext const &) const
MCAPI ::std::vector<::ItemInstance > const & $assemble (::CraftingContainer &craftSlots, ::CraftingContext &) const
MCAPI ::std::vector<::ItemInstance > const & $getResultItems () const
MCAPI int $getCraftingSize () const
MCAPI::RecipeIngredient const & $getIngredient (int, int) const
MCAPI int $size () const
virtual bool isMultiRecipe () const
virtual bool isShapeless () const
virtual bool hasDataDrivenResult () const
MCAPI void * $ctor (::std::string const &recipeId, ::HashedString tag)
MCAPI void * $ctor (::Recipe::ConstructionContext &&context)
MCAPI bool $isMultiRecipe () const
MCAPI bool $isShapeless () const
MCAPI bool $hasDataDrivenResult () const
virtual::mce::UUID const & getId () const
virtual bool itemValidForRecipe (::ItemDescriptor const &recipeItem, ::ItemStack const &item, ::CraftingContext const *) const
virtual bool itemsMatch (::ItemDescriptor const &lhs, ::ItemDescriptor const &rhs) const
virtual bool itemsMatch (::ItemDescriptor const &lhs, ::ItemDescriptor const &rhs, ::CompoundTag const *rhsTag) const
virtual uint64 getIngredientsHash () const
MCAPI int countQuantityOfIngredient (::ItemInstance const &ingredient) const
MCAPI void $dtor ()
MCFOLD::mce::UUID const & $getId () const
MCAPI bool $itemValidForRecipe (::ItemDescriptor const &recipeItem, ::ItemStack const &item, ::CraftingContext const *) const
MCAPI bool $itemsMatch (::ItemDescriptor const &lhs, ::ItemDescriptor const &rhs) const
MCAPI bool $itemsMatch (::ItemDescriptor const &lhs, ::ItemDescriptor const &rhs, ::CompoundTag const *rhsTag) const
MCAPI uint64 $getIngredientsHash () const

Static Public Member Functions

static MCAPI ::mce::UUID const & ID ()
static MCAPI void ** $vftable ()
static MCAPI bool isAnyAuxValue (::ItemDescriptor const &ii)

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::ItemInstance > > mResults
::ll::TypedStorage< 8, 32, ::std::string > mRecipeId
::ll::TypedStorage< 8, 16, ::mce::UUID > mMyId
::ll::TypedStorage< 4, 4, int > mWidth
::ll::TypedStorage< 4, 4, int > mHeight
::ll::TypedStorage< 4, 4, int > mPriority
::ll::TypedStorage< 4, 4, ::RecipeNetId > mRecipeNetId
::ll::TypedStorage< 8, 24, ::std::vector<::RecipeIngredient > > mMyIngredients
::ll::TypedStorage< 8, 32, ::RecipeUnlockingRequirement > mUnlockingRequirement
::ll::TypedStorage< 8, 24, ::SemVersion > mRecipeDataVersion
::ll::TypedStorage< 8, 48, ::HashedString > mTag

Member Function Documentation

◆ matches()

virtual bool DecoratedPotRecipe::matches ( ::CraftingContainer const & craftSlots,
::CraftingContext const &  ) const
virtual

Implements Recipe.

◆ assemble()

virtual ::std::vector<::ItemInstance > const & DecoratedPotRecipe::assemble ( ::CraftingContainer & craftSlots,
::CraftingContext &  ) const
virtual

Implements Recipe.

◆ getCraftingSize()

virtual int DecoratedPotRecipe::getCraftingSize ( ) const
virtual

Implements Recipe.

◆ getIngredient()

virtual::RecipeIngredient const & DecoratedPotRecipe::getIngredient ( int ,
int  ) const
virtual

Implements Recipe.

◆ size()

virtual int DecoratedPotRecipe::size ( ) const
virtual

Implements Recipe.

◆ ID()

MCAPI ::mce::UUID const & DecoratedPotRecipe::ID ( )
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.

◆ $matches()

MCAPI bool DecoratedPotRecipe::$matches ( ::CraftingContainer const & craftSlots,
::CraftingContext 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.

◆ $assemble()

MCAPI ::std::vector<::ItemInstance > const & DecoratedPotRecipe::$assemble ( ::CraftingContainer & craftSlots,
::CraftingContext &  ) 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.

◆ $getResultItems()

MCAPI ::std::vector<::ItemInstance > const & DecoratedPotRecipe::$getResultItems ( ) 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.

◆ $getCraftingSize()

MCAPI int DecoratedPotRecipe::$getCraftingSize ( ) 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.

◆ $getIngredient()

MCAPI::RecipeIngredient const & DecoratedPotRecipe::$getIngredient ( int ,
int  ) 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.

◆ $size()

MCAPI int DecoratedPotRecipe::$size ( ) 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.

◆ isMultiRecipe()

virtual bool MultiRecipe::isMultiRecipe ( ) const
virtualinherited

Reimplemented from Recipe.

◆ isShapeless()

virtual bool MultiRecipe::isShapeless ( ) const
virtualinherited

Implements Recipe.

◆ hasDataDrivenResult()

virtual bool MultiRecipe::hasDataDrivenResult ( ) const
virtualinherited

Reimplemented from Recipe.

◆ $ctor()

MCAPI void * MultiRecipe::$ctor ( ::std::string const & recipeId,
::HashedString tag )
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.

◆ $isMultiRecipe()

MCAPI bool MultiRecipe::$isMultiRecipe ( ) 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.

◆ $isShapeless()

MCAPI bool MultiRecipe::$isShapeless ( ) 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.

◆ $hasDataDrivenResult()

MCAPI bool MultiRecipe::$hasDataDrivenResult ( ) 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.

◆ countQuantityOfIngredient()

MCAPI int Recipe::countQuantityOfIngredient ( ::ItemInstance const & ingredient) 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.

◆ isAnyAuxValue()

MCAPI bool Recipe::isAnyAuxValue ( ::ItemDescriptor const & ii)
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: