LeviLamina
Loading...
Searching...
No Matches
ShapelessRecipe.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
8// auto generated forward declare list
9// clang-format off
11class CraftingContext;
12class ItemInstance;
14// clang-format on
15
16class ShapelessRecipe : public ::Recipe {
17#ifdef LL_PLAT_S
18#else // LL_PLAT_C
19public:
20 // prevent constructor by default
21 ShapelessRecipe& operator=(ShapelessRecipe const&);
22 ShapelessRecipe(ShapelessRecipe const&);
23 ShapelessRecipe();
24
25#endif
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ::std::vector<::ItemInstance> const&
30 assemble(::CraftingContainer& craftingContainer, ::CraftingContext& craftingContext) const /*override*/;
31
32 virtual int getCraftingSize() const /*override*/;
33
34 virtual ::RecipeIngredient const& getIngredient(int x, int y) const /*override*/;
35
36 virtual bool isShapeless() const /*override*/;
37
38 virtual bool matches(::CraftingContainer const& craftSlots, ::CraftingContext const& craftingContext) const
39 /*override*/;
40
41 virtual int size() const /*override*/;
42
43 virtual ~ShapelessRecipe() /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49#ifdef LL_PLAT_C
50 MCAPI ShapelessRecipe(::ShapelessRecipe&& recipe);
51#endif
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57#ifdef LL_PLAT_C
58 MCAPI void* $ctor(::ShapelessRecipe&& recipe);
59#endif
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCAPI void $dtor();
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCFOLD ::std::vector<::ItemInstance> const&
72 $assemble(::CraftingContainer& craftingContainer, ::CraftingContext& craftingContext) const;
73
74 MCAPI int $getCraftingSize() const;
75
76 MCFOLD ::RecipeIngredient const& $getIngredient(int x, int y) const;
77
78 MCFOLD bool $isShapeless() const;
79
80 MCAPI bool $matches(::CraftingContainer const& craftSlots, ::CraftingContext const& craftingContext) const;
81
82 MCAPI int $size() const;
83
84
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCAPI static void** $vftable();
91 // NOLINTEND
92};
Definition CraftingContainer.h:14
Definition CraftingContext.h:20
Definition ItemInstance.h:15
Definition RecipeIngredient.h:17