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 virtual ~ShapedRecipe() /*override*/ = default;
27
28 virtual ::std::vector<::ItemInstance> const& assemble(::CraftingContainer&, ::CraftingContext&) const /*override*/;
29
30 virtual int getCraftingSize() const /*override*/;
31
32 virtual ::RecipeIngredient const& getIngredient(int x, int y) const /*override*/;
33
34 virtual bool isShapeless() const /*override*/;
35
36 virtual bool matches(::CraftingContainer const& craftSlots, ::CraftingContext const& craftingContext) const
37 /*override*/;
38
39 virtual int size() const /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI bool matches(::CraftingContainer const& craftSlots, int xOffs, int yOffs, bool xFlip) const;
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& craftingContext) const;
60
61 MCAPI int $size() const;
62
63
64 // NOLINTEND
65
66public:
67 // vftables
68 // NOLINTBEGIN
69 MCAPI static void** $vftable();
70 // NOLINTEND
71};
Definition CraftingContainer.h:14
Definition CraftingContext.h:20
Definition ItemInstance.h:15
Definition RecipeIngredient.h:8
Definition ShapedRecipe.h:16