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

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 &craftingContext) const
virtual ::std::vector<::ItemInstance > const & assemble (::CraftingContainer &craftSlots, ::CraftingContext &craftingContext) const
virtual ::std::vector<::ItemInstance > const & getResultItems () const
virtual int getCraftingSize () const
virtual::RecipeIngredient const & getIngredient (int x, int y) const
virtual int size () const
MCAPI bool $matches (::CraftingContainer const &craftSlots, ::CraftingContext const &craftingContext) const
MCAPI ::std::vector<::ItemInstance > const & $assemble (::CraftingContainer &craftSlots, ::CraftingContext &craftingContext) const
MCAPI ::std::vector<::ItemInstance > const & $getResultItems () const
MCAPI int $getCraftingSize () const
MCAPI::RecipeIngredient const & $getIngredient (int x, int y) 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 & CartographyTableID ()
static MCAPI void ** $vftable ()
static MCAPI bool isAnyAuxValue (::ItemDescriptor const &ii)

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::ItemInstance > > mResults
::ll::TypedStorage< 8, 8, ::ActorUniqueID > mOriginalMapId
::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 MapLockingRecipe::matches ( ::CraftingContainer const & craftSlots,
::CraftingContext const & craftingContext ) const
virtual

Implements Recipe.

◆ assemble()

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

Implements Recipe.

◆ getCraftingSize()

virtual int MapLockingRecipe::getCraftingSize ( ) const
virtual

Implements Recipe.

◆ getIngredient()

virtual::RecipeIngredient const & MapLockingRecipe::getIngredient ( int x,
int y ) const
virtual

Implements Recipe.

◆ size()

virtual int MapLockingRecipe::size ( ) const
virtual

Implements Recipe.

◆ CartographyTableID()

MCAPI ::mce::UUID const & MapLockingRecipe::CartographyTableID ( )
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 MapLockingRecipe::$matches ( ::CraftingContainer const & craftSlots,
::CraftingContext const & 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.

◆ $assemble()

MCAPI ::std::vector<::ItemInstance > const & MapLockingRecipe::$assemble ( ::CraftingContainer & craftSlots,
::CraftingContext & 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 & MapLockingRecipe::$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 MapLockingRecipe::$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 & MapLockingRecipe::$getIngredient ( int x,
int y ) 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 MapLockingRecipe::$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: