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 {
17public:
18 // virtual functions
19 // NOLINTBEGIN
20 virtual ::std::vector<::ItemInstance> const& assemble(::CraftingContainer&, ::CraftingContext&) const /*override*/;
21
22 virtual int getCraftingSize() const /*override*/;
23
24 virtual ::RecipeIngredient const& getIngredient(int x, int y) const /*override*/;
25
26 virtual bool isShapeless() const /*override*/;
27
28 virtual bool matches(::CraftingContainer const& craftSlots, ::CraftingContext const&) const /*override*/;
29
30 virtual int size() const /*override*/;
31
32 virtual ~ShapelessRecipe() /*override*/;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38
39 // NOLINTEND
40
41public:
42 // constructor thunks
43 // NOLINTBEGIN
44 MCAPI_C void* $ctor(::ShapelessRecipe&& recipe);
45 // NOLINTEND
46
47public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCAPI void $dtor();
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCFOLD ::std::vector<::ItemInstance> const& $assemble(::CraftingContainer&, ::CraftingContext&) const;
57
58 MCAPI int $getCraftingSize() const;
59
60 MCFOLD ::RecipeIngredient const& $getIngredient(int x, int y) const;
61
62 MCFOLD bool $isShapeless() const;
63
64 MCAPI bool $matches(::CraftingContainer const& craftSlots, ::CraftingContext const&) const;
65
66 MCAPI int $size() const;
67
68
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCAPI static void** $vftable();
75 // NOLINTEND
76};
Definition CraftingContainer.h:14
Definition CraftingContext.h:20
Definition ItemInstance.h:15
Definition RecipeIngredient.h:17
Definition ShapelessRecipe.h:16