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
12class Actor;
13class CompoundTag;
14class Item;
15class ItemDescriptor;
16class ItemStack;
17class ItemStackBase;
18class Level;
19struct Brightness;
21// clang-format on
22
24public:
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
42public:
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
70public:
71 // static variables
72 // NOLINTBEGIN
73 MCAPI static ::std::add_lvalue_reference_t<::SparklerItem::ColorInfo const[]> COLORS();
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79 MCAPI ::std::string
80 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
81
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
94public:
95 // vftables
96 // NOLINTBEGIN
97 MCNAPI static void** $vftable();
98 // NOLINTEND
99};
Definition Actor.h:102
Definition ChemistryStickItem.h:21
Definition CompoundTag.h:13
Definition ItemDescriptor.h:22
Definition ItemStackBase.h:34
Definition ItemStack.h:23
Definition Item.h:66
Definition Level.h:243
Definition SparklerItem.h:23
static MCAPI void ** $vftable()
STL namespace.
Definition Brightness.h:8
Definition ResolvedItemIconInfo.h:8
Definition SparklerItem.h:31