41 enum class IngredientSearchMode :
int {
50 ::ll::TypedStorage<1, 1, bool> mResultsAreLoaded;
51 ::ll::TypedStorage<8, 24, ::std::vector<::ItemInstance>> mResults;
52 ::ll::TypedStorage<8, 24, ::std::vector<::NetworkItemInstanceDescriptor>> mUnloadedResults;
62 MCNAPI
explicit Results(::std::vector<::ItemInstance>
const& results);
74 MCNAPI
void*
$ctor(::std::vector<::ItemInstance>
const& results);
88 ::ll::TypedStorage<8, 32, ::std::string> recipeId;
89 ::ll::TypedStorage<8, 24, ::std::vector<::RecipeIngredient>> ingredients;
90 ::ll::TypedStorage<8, 56, ::Recipe::Results> results;
91 ::ll::TypedStorage<8, 48, ::HashedString> tag;
92 ::ll::TypedStorage<4, 4, int> priority;
93 ::ll::TypedStorage<8, 8, ::mce::UUID const*> uuid;
94 ::ll::TypedStorage<8, 32, ::RecipeUnlockingRequirement> unlockingRequirement;
95 ::ll::TypedStorage<8, 24, ::SemVersion> formatVersion;
111 using Ingredients = ::std::vector<::RecipeIngredient>;
113 using ResultList = ::std::vector<::ItemInstance>;
115 using UnloadedItemInstanceResultList = ::std::vector<::NetworkItemInstanceDescriptor>;
120 ::ll::TypedStorage<8, 32, ::std::string> mRecipeId;
121 ::ll::TypedStorage<8, 16, ::mce::UUID> mMyId;
122 ::ll::TypedStorage<4, 4, int> mWidth;
123 ::ll::TypedStorage<4, 4, int> mHeight;
124 ::ll::TypedStorage<4, 4, int> mPriority;
125 ::ll::TypedStorage<4, 4, ::RecipeNetId> mRecipeNetId;
126 ::ll::TypedStorage<8, 24, ::std::vector<::RecipeIngredient>> mMyIngredients;
127 ::ll::TypedStorage<8, 56, ::Recipe::Results> mResults;
128 ::ll::TypedStorage<8, 32, ::RecipeUnlockingRequirement> mUnlockingRequirement;
129 ::ll::TypedStorage<8, 24, ::SemVersion> mRecipeDataVersion;
130 ::ll::TypedStorage<8, 48, ::HashedString> mTag;
143 virtual ::std::vector<::ItemInstance>
const&
146 virtual ::std::vector<::ItemInstance>
const&
150 virtual int getCraftingSize()
const = 0;
152 virtual ::RecipeIngredient
const& getIngredient(
int x,
int y)
const = 0;
154 virtual bool isShapeless()
const = 0;
163 virtual int size()
const = 0;
165 virtual ::mce::UUID
const& getId()
const;
167 virtual ::std::vector<::ItemInstance>
const& getResultItems()
const;
169 virtual bool isMultiRecipe()
const;
171 virtual bool hasDataDrivenResult()
const;
181 virtual uint64 getIngredientsHash()
const;
190 MCNAPI ::IngredientSearchResults checkContainerItemsForUsability(
191 ::std::vector<::ContainerModel*>
const& containers,
193 ::Recipe::IngredientSearchMode searchMode
221 MCFOLD ::mce::UUID
const& $getId()
const;
223 MCFOLD ::std::vector<::ItemInstance>
const& $getResultItems()
const;
225 MCFOLD
bool $isMultiRecipe()
const;
227 MCFOLD
bool $hasDataDrivenResult()
const;
236 MCAPI uint64 $getIngredientsHash()
const;
Definition CraftingContext.h:21