45 ::ll::TypedStorage<1, 1, bool> mResultsAreLoaded;
46 ::ll::TypedStorage<8, 24, ::std::vector<::ItemInstance>> mResults;
47 ::ll::TypedStorage<8, 24, ::std::vector<::NetworkItemInstanceDescriptor>> mUnloadedResults;
57 MCAPI
explicit Results(::std::vector<::ItemInstance>
const& results);
60 MCAPI
explicit Results(::std::vector<::NetworkItemInstanceDescriptor>
const& results);
62 MCFOLD ::std::vector<::ItemInstance>
const& getItems()
const;
73 MCAPI
void* $ctor(::std::vector<::ItemInstance>
const& results);
76 MCAPI
void* $ctor(::std::vector<::NetworkItemInstanceDescriptor>
const& results);
91 ::ll::TypedStorage<8, 32, ::std::string> recipeId;
92 ::ll::TypedStorage<8, 24, ::std::vector<::RecipeIngredient>> ingredients;
93 ::ll::TypedStorage<8, 56, ::Recipe::Results> results;
94 ::ll::TypedStorage<8, 48, ::HashedString> tag;
95 ::ll::TypedStorage<4, 4, int> priority;
96 ::ll::TypedStorage<8, 8, ::mce::UUID const*> uuid;
97 ::ll::TypedStorage<8, 32, ::RecipeUnlockingRequirement> unlockingRequirement;
98 ::ll::TypedStorage<8, 24, ::SemVersion> formatVersion;
114 using Ingredients = ::std::vector<::RecipeIngredient>;
116 using ResultList = ::std::vector<::ItemInstance>;
118 using UnloadedItemInstanceResultList = ::std::vector<::NetworkItemInstanceDescriptor>;
123 ::ll::TypedStorage<8, 32, ::std::string> mRecipeId;
124 ::ll::TypedStorage<8, 16, ::mce::UUID> mMyId;
125 ::ll::TypedStorage<4, 4, int> mWidth;
126 ::ll::TypedStorage<4, 4, int> mHeight;
127 ::ll::TypedStorage<4, 4, int> mPriority;
128 ::ll::TypedStorage<4, 4, ::RecipeNetId> mRecipeNetId;
129 ::ll::TypedStorage<8, 24, ::std::vector<::RecipeIngredient>> mMyIngredients;
130 ::ll::TypedStorage<8, 56, ::Recipe::Results> mResults;
131 ::ll::TypedStorage<8, 32, ::RecipeUnlockingRequirement> mUnlockingRequirement;
132 ::ll::TypedStorage<8, 24, ::SemVersion> mRecipeDataVersion;
133 ::ll::TypedStorage<8, 48, ::HashedString> mTag;
144 Recipe& operator=(Recipe
const&);
145 Recipe(Recipe
const&);
154 virtual ::std::vector<::ItemInstance>
const&
157 virtual int getCraftingSize()
const = 0;
159 virtual ::RecipeIngredient
const& getIngredient(
int x,
int y)
const = 0;
161 virtual bool isShapeless()
const = 0;
165 virtual int size()
const = 0;
167 virtual ::mce::UUID
const& getId()
const;
169 virtual ::std::vector<::ItemInstance>
const& getResultItems()
const;
171 virtual bool isMultiRecipe()
const;
173 virtual bool hasDataDrivenResult()
const;
182 virtual uint64 getIngredientsHash()
const;
191 MCAPI Recipe(::Recipe&& recipe);
193 MCAPI ::IngredientSearchResults
194 checkContainerItemsForUsability(::std::vector<::ContainerModel*>
const& containers)
const;
197 MCAPI
int countQuantityOfIngredient(
::ItemInstance const& ingredient)
const;
199 MCAPI
void generateUUID();
201 MCAPI ::Recipe::ConstructionContext getConstructionContext()
const;
203 MCFOLD
int getHeight()
const;
205 MCFOLD ::std::vector<::RecipeIngredient>
const& getIngredients()
const;
207 MCFOLD ::RecipeNetId
const& getNetId()
const;
209 MCFOLD
int getPriority()
const;
211 MCFOLD ::std::string
const& getRecipeId()
const;
213 MCFOLD ::HashedString
const& getTag()
const;
215 MCFOLD ::RecipeUnlockingRequirement
const& getUnlockingRequirement()
const;
217 MCFOLD
int getWidth()
const;
225 MCAPI
void setNetId(::RecipeNetId
const& recipeNetId);
240 MCAPI
void* $ctor(::Recipe&& recipe);
253 MCFOLD ::mce::UUID
const& $getId()
const;
255 MCFOLD ::std::vector<::ItemInstance>
const& $getResultItems()
const;
257 MCFOLD
bool $isMultiRecipe()
const;
259 MCFOLD
bool $hasDataDrivenResult()
const;
267 MCAPI uint64 $getIngredientsHash()
const;
275 MCAPI
static void** $vftable();
Definition CraftingContext.h:20