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
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class CompoundTag;
12class Item;
13class ItemDescriptor;
14class ItemStack;
15class ItemStackBase;
16class Level;
17struct Brightness;
19// clang-format on
20
22public:
23 // SparklerItem inner types declare
24 // clang-format off
25 struct ColorInfo;
26 // clang-format on
27
28 // SparklerItem inner types define
29 struct ColorInfo {
30 public:
31 // member variables
32 // NOLINTBEGIN
37 // NOLINTEND
38
39 public:
40 // prevent constructor by default
41 ColorInfo& operator=(ColorInfo const&);
42 ColorInfo(ColorInfo const&);
43 ColorInfo();
44 };
45
46public:
47 // virtual functions
48 // NOLINTBEGIN
49 // vIndex: 87
50 virtual ::std::string
51 buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const /*override*/;
52
53 // vIndex: 108
54 virtual ::ResolvedItemIconInfo
55 getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const /*override*/;
56
57 // vIndex: 92
58 virtual bool inventoryTick(::ItemStack& item, ::Level& level, ::Actor& owner, int slot, bool selected) const
59 /*override*/;
60
61 // vIndex: 107
62 virtual ::Item& setIconInfo(::std::string const& name, int id) /*override*/;
63
64 // vIndex: 38
65 virtual bool isHandEquipped() const /*override*/;
66
67 // vIndex: 112
68 virtual ::Brightness getLightEmission(int auxValue) const /*override*/;
69
70 // vIndex: 0
71 virtual ~SparklerItem() /*override*/ = default;
72 // NOLINTEND
73
74public:
75 // static variables
76 // NOLINTBEGIN
77 MCAPI static ::std::add_lvalue_reference_t<::SparklerItem::ColorInfo const[]> COLORS();
78 // NOLINTEND
79
80public:
81 // destructor thunk
82 // NOLINTBEGIN
83
84 // NOLINTEND
85
86public:
87 // virtual function thunks
88 // NOLINTBEGIN
89 MCAPI ::std::string
90 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
91
93 $getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const;
94
95 MCAPI bool $inventoryTick(::ItemStack& item, ::Level& level, ::Actor& owner, int slot, bool selected) const;
96
97 MCFOLD ::Item& $setIconInfo(::std::string const& name, int id);
98
99 MCFOLD bool $isHandEquipped() const;
100
101 MCFOLD ::Brightness $getLightEmission(int auxValue) const;
102 // NOLINTEND
103
104public:
105 // vftables
106 // NOLINTBEGIN
107 MCAPI static void** $vftable();
108 // NOLINTEND
109};
Definition Actor.h:104
Definition ChemistryStickItem.h:21
Definition CompoundTag.h:13
Definition ItemDescriptor.h:22
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition Item.h:65
Definition Level.h:234
Definition SparklerItem.h:21
STL namespace.
Definition Brightness.h:8
Definition ResolvedItemIconInfo.h:8
Definition SparklerItem.h:29
Definition Alias.h:14