LeviLamina
Loading...
Searching...
No Matches
CraftingContainer.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/Container.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Actor
;
11
class
ItemStack
;
12
// clang-format on
13
14
class
CraftingContainer
:
public
::Container
{
15
public
:
16
// member variables
17
// NOLINTBEGIN
18
::ll::TypedStorage<8, 24, ::std::vector<::ItemStack>> mItems;
19
::ll::TypedStorage<4, 4, int> mWidth;
20
// NOLINTEND
21
22
public
:
23
// prevent constructor by default
24
CraftingContainer
();
25
26
public
:
27
// virtual functions
28
// NOLINTBEGIN
29
// vIndex: 0
30
virtual
~CraftingContainer
()
/*override*/
;
31
32
// vIndex: 7
33
virtual ::ItemStack
const
& getItem(
int
slot)
const
/*override*/
;
34
35
// vIndex: 12
36
virtual
void
setItem(
int
modelSlot,
::ItemStack
const
& item)
/*override*/
;
37
38
// vIndex: 20
39
virtual
int
getContainerSize()
const
/*override*/
;
40
41
// vIndex: 21
42
virtual
int
getMaxStackSize()
const
/*override*/
;
43
44
// vIndex: 34
45
virtual
void
setContainerChanged(
int
slot)
/*override*/
;
46
47
// vIndex: 22
48
virtual
void
startOpen(
::Actor
&)
/*override*/
;
49
50
// vIndex: 23
51
virtual
void
stopOpen(
::Actor
& actor)
/*override*/
;
52
53
// vIndex: 2
54
virtual
void
serverInitItemStackIds(
55
int
containerSlot,
56
int
count,
57
::std::function<
void
(
int
,
::ItemStack
const
&)> onNetIdChanged
58
)
/*override*/
;
59
// NOLINTEND
60
61
public
:
62
// member functions
63
// NOLINTBEGIN
64
MCAPI
CraftingContainer
(
int
w,
int
h);
65
// NOLINTEND
66
67
public
:
68
// constructor thunks
69
// NOLINTBEGIN
70
MCAPI
void
* $ctor(
int
w,
int
h);
71
// NOLINTEND
72
73
public
:
74
// destructor thunk
75
// NOLINTBEGIN
76
MCAPI
void
$dtor();
77
// NOLINTEND
78
79
public
:
80
// virtual function thunks
81
// NOLINTBEGIN
82
MCAPI ::ItemStack
const
& $getItem(
int
slot)
const
;
83
84
MCAPI
void
$setItem(
int
modelSlot,
::ItemStack
const
& item);
85
86
MCFOLD
int
$getContainerSize()
const
;
87
88
MCFOLD
int
$getMaxStackSize()
const
;
89
90
MCFOLD
void
$setContainerChanged(
int
slot);
91
92
MCFOLD
void
$startOpen(
::Actor
&);
93
94
MCFOLD
void
$stopOpen(
::Actor
& actor);
95
96
MCFOLD
void
$serverInitItemStackIds(
97
int
containerSlot,
98
int
count,
99
::std::function<
void
(
int
,
::ItemStack
const
&)> onNetIdChanged
100
);
101
// NOLINTEND
102
103
public
:
104
// vftables
105
// NOLINTBEGIN
106
MCAPI
static
void
** $vftable();
107
// NOLINTEND
108
};
Actor
Definition
Actor.h:102
Container
Definition
Container.h:31
CraftingContainer
Definition
CraftingContainer.h:14
ItemStack
Definition
ItemStack.h:23
src-server
mc
world
inventory
CraftingContainer.h
Generated on Tue Nov 25 2025 04:01:42 for LeviLamina by
1.12.0