44 ::ll::TypedStorage<1, 1, bool> mResultsAreLoaded;
45 ::ll::TypedStorage<8, 24, ::std::vector<::ItemInstance>> mResults;
46 ::ll::TypedStorage<8, 24, ::std::vector<::NetworkItemInstanceDescriptor>> mUnloadedResults;
66 ::ll::TypedStorage<8, 32, ::std::string> recipeId;
67 ::ll::TypedStorage<8, 24, ::std::vector<::RecipeIngredient>> ingredients;
68 ::ll::TypedStorage<8, 56, ::Recipe::Results> results;
69 ::ll::TypedStorage<8, 48, ::HashedString> tag;
70 ::ll::TypedStorage<4, 4, int> priority;
71 ::ll::TypedStorage<8, 8, ::mce::UUID const*> uuid;
72 ::ll::TypedStorage<8, 32, ::RecipeUnlockingRequirement> unlockingRequirement;
73 ::ll::TypedStorage<8, 24, ::SemVersion> formatVersion;
89 using Ingredients = ::std::vector<::RecipeIngredient>;
91 using ResultList = ::std::vector<::ItemInstance>;
93 using UnloadedItemInstanceResultList = ::std::vector<::NetworkItemInstanceDescriptor>;
98 ::ll::TypedStorage<8, 32, ::std::string> mRecipeId;
99 ::ll::TypedStorage<8, 16, ::mce::UUID> mMyId;
100 ::ll::TypedStorage<4, 4, int> mWidth;
101 ::ll::TypedStorage<4, 4, int> mHeight;
102 ::ll::TypedStorage<4, 4, int> mPriority;
103 ::ll::TypedStorage<4, 4, ::RecipeNetId> mRecipeNetId;
104 ::ll::TypedStorage<8, 24, ::std::vector<::RecipeIngredient>> mMyIngredients;
105 ::ll::TypedStorage<8, 56, ::Recipe::Results> mResults;
106 ::ll::TypedStorage<8, 32, ::RecipeUnlockingRequirement> mUnlockingRequirement;
107 ::ll::TypedStorage<8, 24, ::SemVersion> mRecipeDataVersion;
108 ::ll::TypedStorage<8, 48, ::HashedString> mTag;
122 virtual int getCraftingSize()
const = 0;
124 virtual ::RecipeIngredient
const& getIngredient(
int,
int)
const = 0;
126 virtual bool isShapeless()
const = 0;
130 virtual int size()
const = 0;
132 virtual ::mce::UUID
const& getId()
const;
134 virtual ::std::vector<::ItemInstance>
const& getResultItems()
const;
136 virtual bool isMultiRecipe()
const;
138 virtual bool hasDataDrivenResult()
const;
147 virtual uint64 getIngredientsHash()
const;
155 MCAPI_C ::IngredientSearchResults
156 checkContainerItemsForUsability(::std::vector<::ContainerModel*>
const& containers)
const;
158 MCAPI
int countQuantityOfIngredient(
::ItemInstance const& ingredient)
const;
160 MCAPI
void generateUUID();
162 MCAPI ::Recipe::ConstructionContext getConstructionContext()
const;
176 MCAPI_C
void* $ctor(::Recipe&& recipe);
188 MCFOLD ::mce::UUID
const& $getId()
const;
190 MCFOLD ::std::vector<::ItemInstance>
const& $getResultItems()
const;
192 MCFOLD
bool $isMultiRecipe()
const;
194 MCFOLD
bool $hasDataDrivenResult()
const;
202 MCAPI uint64 $getIngredientsHash()
const;
210 MCAPI
static void** $vftable();
Definition CraftingContext.h:20