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

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

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::ItemInstance > > mResult
::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, 56, ::Recipe::Results > mResults
::ll::TypedStorage< 8, 32, ::RecipeUnlockingRequirement > mUnlockingRequirement
::ll::TypedStorage< 8, 24, ::SemVersion > mRecipeDataVersion
::ll::TypedStorage< 8, 48, ::HashedString > mTag

Member Function Documentation

◆ assemble()

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

Implements Recipe.

◆ getCraftingSize()

virtual int FireworksRecipe::getCraftingSize ( ) const
virtual

Implements Recipe.

◆ getIngredient()

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

Implements Recipe.

◆ isShapeless()

virtual bool FireworksRecipe::isShapeless ( ) const
virtual

Reimplemented from MultiRecipe.

◆ matches()

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

Implements Recipe.

◆ size()

virtual int FireworksRecipe::size ( ) const
virtual

Implements Recipe.

◆ ID()

MCAPI ::mce::UUID & FireworksRecipe::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.

◆ $assemble()

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

◆ $getCraftingSize()

MCAPI int FireworksRecipe::$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 & FireworksRecipe::$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.

◆ $getResultItems()

MCAPI ::std::vector<::ItemInstance > const & FireworksRecipe::$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.

◆ $isShapeless()

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

◆ $matches()

MCAPI bool FireworksRecipe::$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.

◆ $size()

MCAPI int FireworksRecipe::$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.

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

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