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 // vIndex: 1
21 virtual ::std::vector<::ItemInstance> const& assemble(::CraftingContainer&, ::CraftingContext&) const /*override*/;
22
23 // vIndex: 2
24 virtual int getCraftingSize() const /*override*/;
25
26 // vIndex: 3
27 virtual ::RecipeIngredient const& getIngredient(int x, int y) const /*override*/;
28
29 // vIndex: 4
30 virtual bool isShapeless() const /*override*/;
31
32 // vIndex: 5
33 virtual bool matches(::CraftingContainer const& craftSlots, ::CraftingContext const&) const /*override*/;
34
35 // vIndex: 6
36 virtual int size() const /*override*/;
37
38 // vIndex: 0
39 virtual ~ShapelessRecipe() /*override*/;
40 // NOLINTEND
41
42public:
43 // destructor thunk
44 // NOLINTBEGIN
45 MCAPI void $dtor();
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51 MCFOLD ::std::vector<::ItemInstance> const& $assemble(::CraftingContainer&, ::CraftingContext&) const;
52
53 MCAPI int $getCraftingSize() const;
54
55 MCFOLD ::RecipeIngredient const& $getIngredient(int x, int y) const;
56
57 MCFOLD bool $isShapeless() const;
58
59 MCAPI bool $matches(::CraftingContainer const& craftSlots, ::CraftingContext const&) const;
60
61 MCAPI int $size() const;
62 // NOLINTEND
63
64public:
65 // vftables
66 // NOLINTBEGIN
67 MCNAPI static void** $vftable();
68 // NOLINTEND
69};
Definition CraftingContainer.h:14
Definition CraftingContext.h:13
Definition ItemInstance.h:16
Definition RecipeIngredient.h:17
Definition Recipe.h:29
Definition ShapelessRecipe.h:16
static MCAPI void ** $vftable()