Skip to content
LeviMC
English
AutoLightDark
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
25#ifdef LL_PLAT_S
26#else // LL_PLAT_C
27public:
28 // prevent constructor by default
29 SmithingTrimRecipe();
30
31#endif
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual bool matches(::CraftingContainer const& craftingContainer, ::CraftingContext const& craftingContext) const
36 /*override*/;
37
38 virtual ::std::vector<::ItemInstance> const&
39 assemble(::CraftingContainer& craftingContainer, ::CraftingContext& craftingContext) const /*override*/;
40
41 virtual bool hasDataDrivenResult() const /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47#ifdef LL_PLAT_C
48 MCNAPI SmithingTrimRecipe(
49 ::std::string const& recipeId,
50 ::RecipeIngredient const& templateIngredient,
51 ::RecipeIngredient const& baseIngredient,
52 ::RecipeIngredient const& additionIngredient,
53 ::HashedString const& tag
54 );
55#endif
56 // NOLINTEND
57
58public:
59 // static variables
60 // NOLINTBEGIN
61 MCAPI static ::mce::UUID const& ID();
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67#ifdef LL_PLAT_C
68 MCNAPI 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#endif
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCAPI bool $matches(::CraftingContainer const& craftingContainer, ::CraftingContext const& craftingContext) const;
82
83 MCAPI ::std::vector<::ItemInstance> const&
84 $assemble(::CraftingContainer& craftingContainer, ::CraftingContext& craftingContext) const;
85
86 MCFOLD bool $hasDataDrivenResult() const;
87
88
89 // NOLINTEND
90};
Definition CraftingContainer.h:14
Definition CraftingContext.h:21
Definition HashedString.h:5
Definition ItemInstance.h:15
Definition RecipeIngredient.h:8
Definition ShapelessRecipe.h:16
Definition UUID.h:8