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
10
class
CraftingContainer
;
11
class
CraftingContext
;
12
class
ItemInstance
;
13
class
RecipeIngredient
;
14
// clang-format on
15
16
class
ShapelessRecipe
:
public
::Recipe {
17
public
:
18
// virtual functions
19
// NOLINTBEGIN
20
virtual ::std::vector<::ItemInstance>
const
&
21
assemble(
::CraftingContainer
& craftingContainer,
::CraftingContext
& craftingContext)
const
/*override*/
;
22
23
virtual
int
getCraftingSize()
const
/*override*/
;
24
25
virtual ::RecipeIngredient
const
& getIngredient(
int
x,
int
y)
const
/*override*/
;
26
27
virtual
bool
isShapeless()
const
/*override*/
;
28
29
#ifdef LL_PLAT_S
30
virtual
bool
matches(
::CraftingContainer
const
& craftingContainer,
::CraftingContext
const
& craftingContext)
const
31
/*override*/
;
32
#else
// LL_PLAT_C
33
virtual
bool
matches(
::CraftingContainer
const
& craftSlots,
::CraftingContext
const
& craftingContext)
const
34
/*override*/
;
35
#endif
36
37
virtual
int
size()
const
/*override*/
;
38
// NOLINTEND
39
40
public
:
41
// virtual function thunks
42
// NOLINTBEGIN
43
MCFOLD ::std::vector<::ItemInstance>
const
&
44
$assemble(
::CraftingContainer
& craftingContainer,
::CraftingContext
& craftingContext)
const
;
45
46
MCAPI
int
$getCraftingSize()
const
;
47
48
MCFOLD ::RecipeIngredient
const
& $getIngredient(
int
x,
int
y)
const
;
49
50
MCFOLD
bool
$isShapeless()
const
;
51
52
#ifdef LL_PLAT_S
53
MCAPI
bool
$matches(
::CraftingContainer
const
& craftingContainer,
::CraftingContext
const
& craftingContext)
const
;
54
#else
// LL_PLAT_C
55
MCAPI
bool
$matches(
::CraftingContainer
const
& craftSlots,
::CraftingContext
const
& craftingContext)
const
;
56
#endif
57
58
MCAPI
int
$size()
const
;
59
60
61
// NOLINTEND
62
63
public
:
64
// vftables
65
// NOLINTBEGIN
66
MCAPI
static
void
** $vftable();
67
// NOLINTEND
68
};
CraftingContainer
Definition
CraftingContainer.h:14
CraftingContext
Definition
CraftingContext.h:20
ItemInstance
Definition
ItemInstance.h:15
RecipeIngredient
Definition
RecipeIngredient.h:8
ShapelessRecipe
Definition
ShapelessRecipe.h:16
src
mc
world
item
crafting
ShapelessRecipe.h
Generated on
for LeviLamina by
1.16.1