LeviLamina
Loading...
Searching...
No Matches
MapUpgradingRecipe.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/crafting/MultiRecipe.h"
7
8// auto generated forward declare list
9// clang-format off
11class CraftingContext;
12class ItemInstance;
14namespace mce { class UUID; }
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 24, ::std::vector<::ItemInstance>> mResults;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 5
32 virtual bool matches(::CraftingContainer const& craftSlots, ::CraftingContext const& craftingContext) const
33 /*override*/;
34
35 // vIndex: 1
36 virtual ::std::vector<::ItemInstance> const& assemble(::CraftingContainer& craftSlots, ::CraftingContext&) const
37 /*override*/;
38
39 // vIndex: 8
40 virtual ::std::vector<::ItemInstance> const& getResultItems() const /*override*/;
41
42 // vIndex: 2
43 virtual int getCraftingSize() const /*override*/;
44
45 // vIndex: 3
46 virtual ::RecipeIngredient const& getIngredient(int x, int y) const /*override*/;
47
48 // vIndex: 6
49 virtual int size() const /*override*/;
50
51 // vIndex: 0
52 virtual ~MapUpgradingRecipe() /*override*/ = default;
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
58 MCAPI MapUpgradingRecipe(::std::string const& recipeId, ::mce::UUID const& uuid);
59 // NOLINTEND
60
61public:
62 // static variables
63 // NOLINTBEGIN
64 MCAPI static ::mce::UUID const& CartographyTableID();
65
66 MCAPI static ::mce::UUID const& CraftingTableID();
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
72 MCAPI void* $ctor(::std::string const& recipeId, ::mce::UUID const& uuid);
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78 MCAPI bool $matches(::CraftingContainer const& craftSlots, ::CraftingContext const& craftingContext) const;
79
80 MCAPI ::std::vector<::ItemInstance> const& $assemble(::CraftingContainer& craftSlots, ::CraftingContext&) const;
81
82 MCFOLD ::std::vector<::ItemInstance> const& $getResultItems() const;
83
84 MCFOLD int $getCraftingSize() const;
85
86 MCFOLD ::RecipeIngredient const& $getIngredient(int x, int y) const;
87
88 MCFOLD int $size() const;
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
94 MCNAPI static void** $vftable();
95 // NOLINTEND
96};
Definition CraftingContainer.h:14
Definition CraftingContext.h:20
Definition ItemInstance.h:15
Definition MapUpgradingRecipe.h:17
static MCAPI void ** $vftable()
Definition MultiRecipe.h:13
Definition RecipeIngredient.h:17
Definition UUID.h:7