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 index) /*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 // virtual function thunks
82 // NOLINTBEGIN
83 MCAPI ::std::string
84 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
85
87 $getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const;
88
89 MCAPI bool $inventoryTick(::ItemStack& item, ::Level& level, ::Actor& owner, int slot, bool selected) const;
90
91 MCFOLD ::Item& $setIconInfo(::std::string const& name, int index);
92
93 MCFOLD bool $isHandEquipped() const;
94
95 MCFOLD ::Brightness $getLightEmission(int auxValue) const;
96 // NOLINTEND
97
98public:
99 // vftables
100 // NOLINTBEGIN
101 MCNAPI static void** $vftable();
102 // NOLINTEND
103};
Definition Actor.h:103
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:238
Definition SparklerItem.h:21
static MCAPI void ** $vftable()
STL namespace.
Definition Brightness.h:8
Definition ResolvedItemIconInfo.h:8
Definition SparklerItem.h:29
Definition Alias.h:14