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
26public:
27 // prevent constructor by default
28 SmithingTransformRecipe();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual bool matches(::CraftingContainer const& craftingContainer, ::CraftingContext const&) const /*override*/;
34
35 virtual ::std::vector<::ItemInstance> const&
36 assemble(::CraftingContainer& craftingContainer, ::CraftingContext&) const /*override*/;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI SmithingTransformRecipe(
43 ::std::string const& recipeId,
44 ::RecipeIngredient const& templateIngredient,
45 ::RecipeIngredient const& baseIngredient,
46 ::RecipeIngredient const& additionIngredient,
47 ::Recipe::Results&& results,
48 ::HashedString const& tag
49 );
50
51 MCFOLD ::RecipeIngredient const& getAdditionIngredient() const;
52
53 MCFOLD ::RecipeIngredient const& getBaseIngredient() const;
54
55 MCAPI ::ItemInstance const& getResult() const;
56
57 MCFOLD ::RecipeIngredient const& getTemplateIngredient() const;
58 // NOLINTEND
59
60public:
61 // static variables
62 // NOLINTBEGIN
63 MCAPI static ::mce::UUID const& ID();
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCAPI void* $ctor(
70 ::std::string const& recipeId,
71 ::RecipeIngredient const& templateIngredient,
72 ::RecipeIngredient const& baseIngredient,
73 ::RecipeIngredient const& additionIngredient,
74 ::Recipe::Results&& results,
75 ::HashedString const& tag
76 );
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCAPI bool $matches(::CraftingContainer const& craftingContainer, ::CraftingContext const&) const;
83
84 MCAPI ::std::vector<::ItemInstance> const&
85 $assemble(::CraftingContainer& craftingContainer, ::CraftingContext&) const;
86
87
88 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCAPI static void** $vftable();
94 // NOLINTEND
95};
Definition CraftingContainer.h:14
Definition CraftingContext.h:20
Definition HashedString.h:5
Definition ItemInstance.h:15
Definition RecipeIngredient.h:16
Definition Recipe.h:41
Definition UUID.h:7