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
// virtual function thunks
64
// NOLINTBEGIN
65
MCFOLD ::std::vector<::ItemInstance>
const
& $assemble(
::CraftingContainer
&,
::CraftingContext
&)
const
;
66
67
MCAPI
int
$getCraftingSize()
const
;
68
69
MCFOLD ::RecipeIngredient
const
& $getIngredient(
int
x,
int
y)
const
;
70
71
MCFOLD
bool
$isShapeless()
const
;
72
73
MCAPI
bool
$matches(
::CraftingContainer
const
& craftSlots,
::CraftingContext
const
&)
const
;
74
75
MCAPI
int
$size()
const
;
76
// NOLINTEND
77
78
public
:
79
// vftables
80
// NOLINTBEGIN
81
MCNAPI
static
void
**
$vftable
();
82
// NOLINTEND
83
};
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
ShapedRecipe::$vftable
static MCAPI void ** $vftable()
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
item
crafting
ShapedRecipe.h
Generated on Mon Jun 30 2025 05:54:05 for LeviLamina by
1.12.0