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