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 // prevent constructor by default
34 CoalItem();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 // vIndex: 107
40 virtual ::Item& setIconInfo(::std::string const& name, int id) /*override*/;
41
42 // vIndex: 108
43 virtual ::ResolvedItemIconInfo
44 getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const /*override*/;
45
46 // vIndex: 87
47 virtual ::std::string
48 buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const /*override*/;
49
50 // vIndex: 115
51 virtual float getFurnaceXPmultiplier(::ItemStackBase const& instance) const /*override*/;
52
53 // vIndex: 0
54 virtual ~CoalItem() /*override*/ = default;
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
60 MCAPI CoalItem(::std::string const& name, int id, ::cereal::ReflectionCtx& ctx, ::CoalItem::Type type);
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCAPI void* $ctor(::std::string const& name, int id, ::cereal::ReflectionCtx& ctx, ::CoalItem::Type type);
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72 MCFOLD ::Item& $setIconInfo(::std::string const& name, int id);
73
74 MCFOLD ::ResolvedItemIconInfo
75 $getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const;
76
77 MCAPI ::std::string
78 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
79
80 MCAPI float $getFurnaceXPmultiplier(::ItemStackBase const& instance) const;
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCNAPI static void** $vftable();
87 // NOLINTEND
88};
Definition CoalItem.h:18
static MCAPI void ** $vftable()
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