Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
SmithingTransformRecipe.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/crafting/Recipe.h"
7#include "mc/world/item/crafting/ShapelessRecipe.h"
8
9// auto generated forward declare list
10// clang-format off
12class CraftingContext;
13class HashedString;
14class ItemInstance;
16namespace mce { class UUID; }
17// clang-format on
18
19class SmithingTransformRecipe : public ::ShapelessRecipe {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 24, ::std::vector<::ItemInstance>> mRuntimeResults;
24 // NOLINTEND
25
26#ifdef LL_PLAT_S
27#else // LL_PLAT_C
28public:
29 // prevent constructor by default
30 SmithingTransformRecipe();
31
32#endif
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual bool matches(::CraftingContainer const& craftingContainer, ::CraftingContext const&) const /*override*/;
37
38 virtual ::std::vector<::ItemInstance> const&
39 assemble(::CraftingContainer& craftingContainer, ::CraftingContext&) const /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45#ifdef LL_PLAT_C
46 MCNAPI SmithingTransformRecipe(
47 ::std::string const& recipeId,
48 ::RecipeIngredient const& templateIngredient,
49 ::RecipeIngredient const& baseIngredient,
50 ::RecipeIngredient const& additionIngredient,
51 ::Recipe::Results&& results,
52 ::HashedString const& tag
53 );
54#endif
55 // NOLINTEND
56
57public:
58 // static variables
59 // NOLINTBEGIN
60 MCAPI static ::mce::UUID const& ID();
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66#ifdef LL_PLAT_C
67 MCNAPI void* $ctor(
68 ::std::string const& recipeId,
69 ::RecipeIngredient const& templateIngredient,
70 ::RecipeIngredient const& baseIngredient,
71 ::RecipeIngredient const& additionIngredient,
72 ::Recipe::Results&& results,
73 ::HashedString const& tag
74 );
75#endif
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCAPI bool $matches(::CraftingContainer const& craftingContainer, ::CraftingContext const&) const;
82
83 MCAPI ::std::vector<::ItemInstance> const&
84 $assemble(::CraftingContainer& craftingContainer, ::CraftingContext&) const;
85
86
87 // NOLINTEND
88};
Definition CraftingContainer.h:14
Definition CraftingContext.h:21
Definition HashedString.h:5
Definition ItemInstance.h:15
Definition RecipeIngredient.h:8
Definition Recipe.h:46
Definition ShapelessRecipe.h:16
Definition UUID.h:8