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
20 ::ll::TypedStorage<1, 1, bool> mAssumeSymmetry;
21 // NOLINTEND
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 // vIndex: 0
27 virtual ~ShapedRecipe() /*override*/ = default;
28
29 // vIndex: 1
30 virtual ::std::vector<::ItemInstance> const& assemble(::CraftingContainer&, ::CraftingContext&) const /*override*/;
31
32 // vIndex: 2
33 virtual int getCraftingSize() const /*override*/;
34
35 // vIndex: 3
36 virtual ::RecipeIngredient const& getIngredient(int x, int y) const /*override*/;
37
38 // vIndex: 4
39 virtual bool isShapeless() const /*override*/;
40
41 // vIndex: 5
42 virtual bool matches(::CraftingContainer const& craftSlots, ::CraftingContext const&) const /*override*/;
43
44 // vIndex: 6
45 virtual int size() const /*override*/;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCAPI uint64 getIngredientsHashOffset(int simulatedWidth, int simulatedHeight, int offsetX, int offsetY) const;
52
53 MCAPI bool matches(::CraftingContainer const& craftSlots, int xOffs, int yOffs, bool xFlip) const;
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCFOLD ::std::vector<::ItemInstance> const& $assemble(::CraftingContainer&, ::CraftingContext&) const;
60
61 MCAPI int $getCraftingSize() const;
62
63 MCFOLD ::RecipeIngredient const& $getIngredient(int x, int y) const;
64
65 MCFOLD bool $isShapeless() const;
66
67 MCAPI bool $matches(::CraftingContainer const& craftSlots, ::CraftingContext const&) const;
68
69 MCAPI int $size() const;
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCNAPI static void** $vftable();
76 // NOLINTEND
77};
Definition CraftingContainer.h:14
Definition CraftingContext.h:20
Definition ItemInstance.h:15
Definition RecipeIngredient.h:17
Definition Recipe.h:29
Definition ShapedRecipe.h:16
static MCAPI void ** $vftable()