LeviLamina
Loading...
Searching...
No Matches
ShapedRecipe.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 ShapedRecipe : public ::Recipe {
17public:
18 // member variables
19 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 ShapedRecipe& operator=(ShapedRecipe const&);
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 0
33 virtual ~ShapedRecipe() /*override*/ = default;
34
35 // vIndex: 1
36 virtual ::std::vector<::ItemInstance> const& assemble(::CraftingContainer&, ::CraftingContext&) const /*override*/;
37
38 // vIndex: 2
39 virtual int getCraftingSize() const /*override*/;
40
41 // vIndex: 3
42 virtual ::RecipeIngredient const& getIngredient(int x, int y) const /*override*/;
43
44 // vIndex: 4
45 virtual bool isShapeless() const /*override*/;
46
47 // vIndex: 5
48 virtual bool matches(::CraftingContainer const& craftSlots, ::CraftingContext const&) const /*override*/;
49
50 // vIndex: 6
51 virtual int size() const /*override*/;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI uint64 getIngredientsHashOffset(int simulatedWidth, int simulatedHeight, int offsetX, int offsetY) const;
58
59 MCAPI bool matches(::CraftingContainer const& craftSlots, int xOffs, int yOffs, bool xFlip) const;
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCFOLD ::std::vector<::ItemInstance> const& $assemble(::CraftingContainer&, ::CraftingContext&) const;
72
73 MCAPI int $getCraftingSize() const;
74
75 MCFOLD ::RecipeIngredient const& $getIngredient(int x, int y) const;
76
77 MCFOLD bool $isShapeless() const;
78
79 MCAPI bool $matches(::CraftingContainer const& craftSlots, ::CraftingContext const&) const;
80
81 MCAPI int $size() const;
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCAPI static void** $vftable();
88 // NOLINTEND
89};
Definition CraftingContainer.h:14
Definition CraftingContext.h:13
Definition ItemInstance.h:16
Definition RecipeIngredient.h:17
Definition Recipe.h:29
Definition ShapedRecipe.h:16
Definition Alias.h:14