LeviLamina
Loading...
Searching...
No Matches
SmithingTrimRecipe Class Reference
Inheritance diagram for SmithingTrimRecipe:

Public Types

using Ingredients = ::std::vector<::RecipeIngredient>
using ResultList = ::std::vector<::ItemInstance>
using UnloadedItemInstanceResultList = ::std::vector<::NetworkItemInstanceDescriptor>

Public Member Functions

virtual bool matches (::CraftingContainer const &craftingContainer, ::CraftingContext const &craftingContext) const
virtual ::std::vector<::ItemInstance > const & assemble (::CraftingContainer &craftingContainer, ::CraftingContext &craftingContext) const
virtual bool hasDataDrivenResult () const
MCAPI SmithingTrimRecipe (::std::string const &recipeId, ::RecipeIngredient const &templateIngredient, ::RecipeIngredient const &baseIngredient, ::RecipeIngredient const &additionIngredient, ::HashedString const &tag)
MCAPI_C void * $ctor (::SmithingTrimRecipe &&)
MCAPI void * $ctor (::std::string const &recipeId, ::RecipeIngredient const &templateIngredient, ::RecipeIngredient const &baseIngredient, ::RecipeIngredient const &additionIngredient, ::HashedString const &tag)
MCFOLD void $dtor ()
MCAPI bool $matches (::CraftingContainer const &craftingContainer, ::CraftingContext const &craftingContext) const
MCAPI ::std::vector<::ItemInstance > const & $assemble (::CraftingContainer &craftingContainer, ::CraftingContext &craftingContext) const
MCFOLD bool $hasDataDrivenResult () const
virtual int getCraftingSize () const
virtual::RecipeIngredient const & getIngredient (int x, int y) const
virtual bool isShapeless () const
virtual int size () const
MCAPI_C void * $ctor (::ShapelessRecipe &&recipe)
MCAPI void * $ctor (::Recipe::ConstructionContext &&context)
MCAPI_C void * $ctor (::Recipe &&recipe)
MCAPI int $getCraftingSize () const
MCFOLD::RecipeIngredient const & $getIngredient (int x, int y) const
MCFOLD bool $isShapeless () const
MCAPI int $size () const
virtual::mce::UUID const & getId () const
virtual ::std::vector<::ItemInstance > const & getResultItems () const
virtual bool isMultiRecipe () const
virtual bool itemValidForRecipe (::ItemDescriptor const &recipeItem, ::ItemStack const &item) 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_C::IngredientSearchResults checkContainerItemsForUsability (::std::vector<::ContainerModel * > const &containers) const
MCAPI int countQuantityOfIngredient (::ItemInstance const &ingredient) const
MCAPI void generateUUID ()
MCAPI::Recipe::ConstructionContext getConstructionContext () const
MCFOLD::mce::UUID const & $getId () const
MCFOLD ::std::vector<::ItemInstance > const & $getResultItems () const
MCFOLD bool $isMultiRecipe () const
MCAPI bool $itemValidForRecipe (::ItemDescriptor const &recipeItem, ::ItemStack const &item) 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 > > mRuntimeResults
::ll::TypedStorage< 8, 32, ::std::string > mRecipeId
::ll::TypedStorage< 8, 16, ::mce::UUIDmMyId
::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::ResultsmResults
::ll::TypedStorage< 8, 32, ::RecipeUnlockingRequirementmUnlockingRequirement
::ll::TypedStorage< 8, 24, ::SemVersionmRecipeDataVersion
::ll::TypedStorage< 8, 48, ::HashedStringmTag

Member Function Documentation

◆ matches()

virtual bool SmithingTrimRecipe::matches ( ::CraftingContainer const & craftingContainer,
::CraftingContext const & craftingContext ) const
virtual

Reimplemented from ShapelessRecipe.

◆ assemble()

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

Reimplemented from ShapelessRecipe.

◆ hasDataDrivenResult()

virtual bool SmithingTrimRecipe::hasDataDrivenResult ( ) const
virtual

Reimplemented from Recipe.

◆ getCraftingSize()

virtual int ShapelessRecipe::getCraftingSize ( ) const
virtualinherited

Implements Recipe.

◆ getIngredient()

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

Implements Recipe.

◆ isShapeless()

virtual bool ShapelessRecipe::isShapeless ( ) const
virtualinherited

Implements Recipe.

◆ size()

virtual int ShapelessRecipe::size ( ) const
virtualinherited

Implements Recipe.


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