38 using Ingredients = ::std::vector<::RecipeIngredient>;
40 using ResultList = ::std::vector<::ItemInstance>;
42 using UnloadedItemInstanceResultList = ::std::vector<::NetworkItemInstanceDescriptor>;
48 ::ll::TypedStorage<1, 1, bool> mResultsAreLoaded;
49 ::ll::TypedStorage<8, 24, ::std::vector<::ItemInstance>> mResults;
50 ::ll::TypedStorage<8, 24, ::std::vector<::NetworkItemInstanceDescriptor>> mUnloadedResults;
70 ::ll::TypedStorage<8, 32, ::std::string> recipeId;
71 ::ll::TypedStorage<8, 24, ::std::vector<::RecipeIngredient>> ingredients;
72 ::ll::TypedStorage<8, 56, ::Recipe::Results> results;
73 ::ll::TypedStorage<8, 48, ::HashedString> tag;
74 ::ll::TypedStorage<4, 4, int> priority;
75 ::ll::TypedStorage<8, 8, ::mce::UUID const*> uuid;
76 ::ll::TypedStorage<8, 32, ::RecipeUnlockingRequirement> unlockingRequirement;
77 ::ll::TypedStorage<8, 24, ::SemVersion> formatVersion;
96 ::ll::TypedStorage<8, 32, ::std::string> mRecipeId;
97 ::ll::TypedStorage<8, 16, ::mce::UUID> mMyId;
98 ::ll::TypedStorage<4, 4, int> mWidth;
99 ::ll::TypedStorage<4, 4, int> mHeight;
100 ::ll::TypedStorage<4, 4, int> mPriority;
101 ::ll::TypedStorage<4, 4, ::RecipeNetId> mRecipeNetId;
102 ::ll::TypedStorage<8, 24, ::std::vector<::RecipeIngredient>> mMyIngredients;
103 ::ll::TypedStorage<8, 56, ::Recipe::Results> mResults;
104 ::ll::TypedStorage<8, 32, ::RecipeUnlockingRequirement> mUnlockingRequirement;
105 ::ll::TypedStorage<8, 24, ::SemVersion> mRecipeDataVersion;
106 ::ll::TypedStorage<8, 48, ::HashedString> mTag;
119 virtual int getCraftingSize()
const = 0;
122 virtual ::RecipeIngredient
const& getIngredient(
int,
int)
const = 0;
125 virtual bool isShapeless()
const = 0;
131 virtual int size()
const = 0;
134 virtual ::mce::UUID
const& getId()
const;
137 virtual ::std::vector<::ItemInstance>
const& getResultItems()
const;
140 virtual bool isMultiRecipe()
const;
143 virtual bool hasDataDrivenResult()
const;
156 virtual uint64 getIngredientsHash()
const;
164 MCAPI
int countQuantityOfIngredient(
::ItemInstance const& ingredient)
const;
166 MCAPI
void generateUUID();
168 MCAPI ::Recipe::ConstructionContext getConstructionContext()
const;
192 MCFOLD ::mce::UUID
const& $getId()
const;
194 MCFOLD ::std::vector<::ItemInstance>
const& $getResultItems()
const;
196 MCFOLD
bool $isMultiRecipe()
const;
198 MCFOLD
bool $hasDataDrivenResult()
const;
206 MCAPI uint64 $getIngredientsHash()
const;
212 MCAPI
static void** $vftable();
Definition CraftingContext.h:13