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#ifdef LL_PLAT_S
27 virtual ~ShapedRecipe() /*override*/ = default;
28#else // LL_PLAT_C
29 virtual ~ShapedRecipe() /*override*/;
30#endif
31
32 virtual ::std::vector<::ItemInstance> const& assemble(::CraftingContainer&, ::CraftingContext&) const /*override*/;
33
34 virtual int getCraftingSize() const /*override*/;
35
36 virtual ::RecipeIngredient const& getIngredient(int x, int y) const /*override*/;
37
38 virtual bool isShapeless() const /*override*/;
39
40 virtual bool matches(::CraftingContainer const& craftSlots, ::CraftingContext const&) const /*override*/;
41
42 virtual int size() const /*override*/;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI uint64 getIngredientsHashOffset(int simulatedWidth, int simulatedHeight, int offsetX, int offsetY) const;
49
50 MCAPI bool matches(::CraftingContainer const& craftSlots, int xOffs, int yOffs, bool xFlip) const;
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI_C void* $ctor(::ShapedRecipe&& recipe);
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCFOLD void $dtor();
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCFOLD ::std::vector<::ItemInstance> const& $assemble(::CraftingContainer&, ::CraftingContext&) const;
69
70 MCAPI int $getCraftingSize() const;
71
72 MCFOLD ::RecipeIngredient const& $getIngredient(int x, int y) const;
73
74 MCFOLD bool $isShapeless() const;
75
76 MCAPI bool $matches(::CraftingContainer const& craftSlots, ::CraftingContext const&) const;
77
78 MCAPI int $size() const;
79
80
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCAPI static void** $vftable();
87 // NOLINTEND
88};
Definition CraftingContainer.h:14
Definition CraftingContext.h:20
Definition ItemInstance.h:15
Definition RecipeIngredient.h:17
Definition ShapedRecipe.h:16