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
10
class
CraftingContainer
;
11
class
CraftingContext
;
12
class
ItemInstance
;
13
class
RecipeIngredient
;
14
// clang-format on
15
16
class
ShapedRecipe
:
public
::Recipe
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::UntypedStorage<1, 1>
mUnk8214d9;
21
// NOLINTEND
22
23
public
:
24
// prevent constructor by default
25
ShapedRecipe
& operator=(
ShapedRecipe
const
&);
26
ShapedRecipe
(
ShapedRecipe
const
&);
27
ShapedRecipe
();
28
29
public
:
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
54
public
:
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
62
public
:
63
// destructor thunk
64
// NOLINTBEGIN
65
66
// NOLINTEND
67
68
public
:
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
84
public
:
85
// vftables
86
// NOLINTBEGIN
87
MCAPI
static
void
** $vftable();
88
// NOLINTEND
89
};
CraftingContainer
Definition
CraftingContainer.h:14
CraftingContext
Definition
CraftingContext.h:13
ItemInstance
Definition
ItemInstance.h:16
RecipeIngredient
Definition
RecipeIngredient.h:17
Recipe
Definition
Recipe.h:29
ShapedRecipe
Definition
ShapedRecipe.h:16
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
item
crafting
ShapedRecipe.h
Generated on Sat Apr 26 2025 05:56:14 for LeviLamina by
1.12.0