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
virtual ::std::string
46
buildDescriptionId(
::ItemDescriptor
const
& itemDescriptor,
::CompoundTag
const
* userData)
const
/*override*/
;
47
48
virtual ::ResolvedItemIconInfo
49
getIconInfo(
::ItemStackBase
const
& item,
int
newAnimationFrame,
bool
inInventoryPane)
const
/*override*/
;
50
51
virtual
bool
inventoryTick(
::ItemStack
& item,
::Level
& level,
::Actor
& owner,
int
slot,
bool
selected)
const
52
/*override*/
;
53
54
virtual ::Item& setIconInfo(::std::string
const
& name,
int
index)
/*override*/
;
55
56
virtual
bool
isHandEquipped() const
/*override*/
;
57
58
virtual ::
Brightness
getLightEmission(
int
auxValue) const
/*override*/
;
59
60
virtual ~
SparklerItem
()
/*override*/
= default;
61
// NOLINTEND
62
63
public:
64
// static variables
65
// NOLINTBEGIN
66
MCAPI static ::
std
::add_lvalue_reference_t<::
SparklerItem
::
ColorInfo
const[]> COLORS();
67
// NOLINTEND
68
69
public:
70
// virtual function thunks
71
// NOLINTBEGIN
72
MCAPI ::
std
::
string
73
$buildDescriptionId(::
ItemDescriptor
const& itemDescriptor, ::
CompoundTag
const* userData) const;
74
75
MCAPI ::
ResolvedItemIconInfo
76
$getIconInfo(::
ItemStackBase
const& item,
int
newAnimationFrame,
bool
inInventoryPane) const;
77
78
MCAPI
bool
$inventoryTick(::
ItemStack
& item, ::
Level
& level, ::
Actor
& owner,
int
slot,
bool
selected) const;
79
80
MCFOLD ::Item& $setIconInfo(::
std
::
string
const& name,
int
index);
81
82
MCFOLD
bool
$isHandEquipped() const;
83
84
MCFOLD ::
Brightness
$getLightEmission(
int
auxValue) const;
85
86
87
// NOLINTEND
88
89
public:
90
// vftables
91
// NOLINTBEGIN
92
MCAPI static
void
** $vftable();
93
// NOLINTEND
94
};
Actor
Definition
Actor.h:105
ChemistryStickItem
Definition
ChemistryStickItem.h:21
CompoundTag
Definition
CompoundTag.h:23
ItemDescriptor
Definition
ItemDescriptor.h:23
ItemStackBase
Definition
ItemStackBase.h:44
ItemStack
Definition
ItemStack.h:26
Item
Definition
Item.h:69
Level
Definition
Level.h:249
SparklerItem
Definition
SparklerItem.h:23
std
STL namespace.
Brightness
Definition
Brightness.h:8
ResolvedItemIconInfo
Definition
ResolvedItemIconInfo.h:8
SparklerItem::ColorInfo
Definition
SparklerItem.h:31
src
mc
world
item
SparklerItem.h
Generated on
for LeviLamina by
1.16.1