LeviLamina
Loading...
Searching...
No Matches
SparklerItem.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/item/ChemistryStickItem.h"
7
#include "mc/world/item/CompoundType.h"
8
#include "mc/world/item/ItemColor.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
Actor
;
13
class
CompoundTag
;
14
class
Item
;
15
class
ItemDescriptor
;
16
class
ItemStack
;
17
class
ItemStackBase
;
18
class
Level
;
19
struct
Brightness
;
20
struct
ResolvedItemIconInfo
;
21
// clang-format on
22
23
class
SparklerItem
:
public
::ChemistryStickItem
{
24
public
:
25
// SparklerItem inner types declare
26
// clang-format off
27
struct
ColorInfo
;
28
// clang-format on
29
30
// SparklerItem inner types define
31
struct
ColorInfo
{
32
public
:
33
// member variables
34
// NOLINTBEGIN
35
::ll::TypedStorage<1, 1, ::ItemColor> mDyeId;
36
::ll::TypedStorage<1, 1, ::CompoundType> mColorCompound;
37
::ll::TypedStorage<4, 4, int> mVariantIndex;
38
::ll::TypedStorage<4, 4, int> mRGB;
39
// NOLINTEND
40
};
41
42
public
:
43
// virtual functions
44
// NOLINTBEGIN
45
// vIndex: 89
46
virtual ::std::string
47
buildDescriptionId(
::ItemDescriptor
const
& itemDescriptor,
::CompoundTag
const
* userData)
const
/*override*/
;
48
49
// vIndex: 110
50
virtual ::ResolvedItemIconInfo
51
getIconInfo(
::ItemStackBase
const
& item,
int
newAnimationFrame,
bool
inInventoryPane)
const
/*override*/
;
52
53
// vIndex: 94
54
virtual
bool
inventoryTick(
::ItemStack
& item,
::Level
& level,
::Actor
& owner,
int
slot,
bool
selected)
const
55
/*override*/
;
56
57
// vIndex: 109
58
virtual ::Item& setIconInfo(::std::string
const
& name,
int
id
)
/*override*/
;
59
60
// vIndex: 38
61
virtual
bool
isHandEquipped() const
/*override*/
;
62
63
// vIndex: 114
64
virtual ::
Brightness
getLightEmission(
int
auxValue) const
/*override*/
;
65
66
// vIndex: 0
67
virtual ~
SparklerItem
()
/*override*/
= default;
68
// NOLINTEND
69
70
public:
71
// static variables
72
// NOLINTBEGIN
73
MCAPI static ::
std
::add_lvalue_reference_t<::
SparklerItem
::
ColorInfo
const[]> COLORS();
74
// NOLINTEND
75
76
public:
77
// virtual function thunks
78
// NOLINTBEGIN
79
MCAPI ::
std
::
string
80
$buildDescriptionId(::
ItemDescriptor
const& itemDescriptor, ::
CompoundTag
const* userData) const;
81
82
MCAPI ::
ResolvedItemIconInfo
83
$getIconInfo(::
ItemStackBase
const& item,
int
newAnimationFrame,
bool
inInventoryPane) const;
84
85
MCAPI
bool
$inventoryTick(::
ItemStack
& item, ::
Level
& level, ::
Actor
& owner,
int
slot,
bool
selected) const;
86
87
MCFOLD ::
Item
& $setIconInfo(::
std
::
string
const& name,
int
id
);
88
89
MCFOLD
bool
$isHandEquipped() const;
90
91
MCFOLD ::
Brightness
$getLightEmission(
int
auxValue) const;
92
// NOLINTEND
93
94
public:
95
// vftables
96
// NOLINTBEGIN
97
MCNAPI static
void
**
$vftable
();
98
// NOLINTEND
99
};
Actor
Definition
Actor.h:102
ChemistryStickItem
Definition
ChemistryStickItem.h:21
CompoundTag
Definition
CompoundTag.h:13
ItemDescriptor
Definition
ItemDescriptor.h:22
ItemStackBase
Definition
ItemStackBase.h:34
ItemStack
Definition
ItemStack.h:23
Item
Definition
Item.h:66
Level
Definition
Level.h:243
SparklerItem
Definition
SparklerItem.h:23
SparklerItem::$vftable
static MCAPI void ** $vftable()
std
STL namespace.
Brightness
Definition
Brightness.h:8
ResolvedItemIconInfo
Definition
ResolvedItemIconInfo.h:8
SparklerItem::ColorInfo
Definition
SparklerItem.h:31
src-server
mc
world
item
SparklerItem.h
Generated on Sun Oct 12 2025 06:32:25 for LeviLamina by
1.12.0