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;
119 Recipe& operator=(Recipe
const&);
120 Recipe(Recipe
const&);
129 virtual ::std::vector<::ItemInstance>
const&
132 virtual int getCraftingSize()
const = 0;
134 virtual ::RecipeIngredient
const& getIngredient(
int x,
int y)
const = 0;
136 virtual bool isShapeless()
const = 0;
140 virtual int size()
const = 0;
142 virtual ::mce::UUID
const& getId()
const;
144 virtual ::std::vector<::ItemInstance>
const& getResultItems()
const;
146 virtual bool isMultiRecipe()
const;
148 virtual bool hasDataDrivenResult()
const;
157 virtual uint64 getIngredientsHash()
const;
166 MCAPI Recipe(::Recipe&& recipe);
168 MCAPI ::IngredientSearchResults
169 checkContainerItemsForUsability(::std::vector<::ContainerModel*>
const& containers)
const;
172 MCAPI
int countQuantityOfIngredient(
::ItemInstance const& ingredient)
const;
174 MCAPI
void generateUUID();
176 MCAPI ::Recipe::ConstructionContext getConstructionContext()
const;
191 MCAPI
void* $ctor(::Recipe&& recipe);
204 MCFOLD ::mce::UUID
const& $getId()
const;
206 MCFOLD ::std::vector<::ItemInstance>
const& $getResultItems()
const;
208 MCFOLD
bool $isMultiRecipe()
const;
210 MCFOLD
bool $hasDataDrivenResult()
const;
219 MCAPI uint64 $getIngredientsHash()
const;
227 MCAPI
static void** $vftable();
Definition CraftingContext.h:20