LeviLamina
Loading...
Searching...
No Matches
CoalItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/components/ComponentItem.h"
7
8// auto generated forward declare list
9// clang-format off
10class CompoundTag;
11class Item;
12class ItemDescriptor;
13class ItemStackBase;
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
18class CoalItem : public ::ComponentItem {
19public:
20 // CoalItem inner types define
21 enum class Type : int {
22 StoneCoal = 0,
23 CharCoal = 1,
24 };
25
26public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<4, 4, ::CoalItem::Type> mType;
30 // NOLINTEND
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 107
36 virtual ::Item& setIconInfo(::std::string const& name, int index) /*override*/;
37
38 // vIndex: 108
39 virtual ::ResolvedItemIconInfo
40 getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const /*override*/;
41
42 // vIndex: 87
43 virtual ::std::string
44 buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const /*override*/;
45
46 // vIndex: 115
47 virtual float getFurnaceXPmultiplier(::ItemStackBase const& instance) const /*override*/;
48
49 // vIndex: 0
50 virtual ~CoalItem() /*override*/ = default;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI CoalItem(::std::string const& name, int id, ::cereal::ReflectionCtx& ctx, ::CoalItem::Type type);
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor(::std::string const& name, int id, ::cereal::ReflectionCtx& ctx, ::CoalItem::Type type);
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCFOLD ::Item& $setIconInfo(::std::string const& name, int index);
75
76 MCFOLD ::ResolvedItemIconInfo
77 $getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const;
78
79 MCAPI ::std::string
80 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
81
82 MCAPI float $getFurnaceXPmultiplier(::ItemStackBase const& instance) const;
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCAPI static void** $vftable();
89 // NOLINTEND
90};
Definition CoalItem.h:18
Definition ComponentItem.h:53
Definition CompoundTag.h:13
Definition ItemDescriptor.h:22
Definition ItemStackBase.h:35
Definition Item.h:65
Definition ResolvedItemIconInfo.h:8
Definition ReflectionCtx.h:11
Definition ctx.h:5