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 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 id) /*override*/;
55
56 virtual bool isHandEquipped() const /*override*/;
57
58 virtual ::Brightness getLightEmission(int auxValue) const /*override*/;
59 // NOLINTEND
60
61public:
62 // static variables
63 // NOLINTBEGIN
64 MCAPI static ::std::add_lvalue_reference_t<::SparklerItem::ColorInfo const[]> COLORS();
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCAPI ::std::string
71 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
72
74 $getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const;
75
76 MCAPI bool $inventoryTick(::ItemStack& item, ::Level& level, ::Actor& owner, int slot, bool selected) const;
77
78 MCFOLD ::Item& $setIconInfo(::std::string const& name, int id);
79
80 MCFOLD bool $isHandEquipped() const;
81
82 MCFOLD ::Brightness $getLightEmission(int auxValue) const;
83
84
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCAPI static void** $vftable();
91 // NOLINTEND
92};
Definition Actor.h:113
Definition ChemistryStickItem.h:22
Definition CompoundTag.h:18
Definition ItemDescriptor.h:25
Definition ItemStackBase.h:44
Definition ItemStack.h:26
Definition Item.h:71
Definition Level.h:254
Definition SparklerItem.h:23
STL namespace.
Definition Brightness.h:8
Definition ResolvedItemIconInfo.h:8
Definition SparklerItem.h:31