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 virtual ::Item& setIconInfo(::std::string const& name, int id) /*override*/;
40
41 virtual ::ResolvedItemIconInfo
42 getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const /*override*/;
43
44 virtual ::std::string buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const /*override*/;
45
46 virtual float getFurnaceXPmultiplier(::ItemStackBase const&) const /*override*/;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI CoalItem(::std::string const& name, int id, ::cereal::ReflectionCtx& ctx, ::CoalItem::Type type);
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI void* $ctor(::std::string const& name, int id, ::cereal::ReflectionCtx& ctx, ::CoalItem::Type type);
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCFOLD ::Item& $setIconInfo(::std::string const& name, int id);
65
66 MCFOLD ::ResolvedItemIconInfo
67 $getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const;
68
69 MCAPI ::std::string $buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const;
70
71 MCAPI float $getFurnaceXPmultiplier(::ItemStackBase const&) const;
72
73
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCAPI static void** $vftable();
80 // NOLINTEND
81};
Definition CompoundTag.h:23
Definition ItemDescriptor.h:25
Definition ItemStackBase.h:52
Definition Item.h:71
Definition ResolvedItemIconInfo.h:8
Definition ReflectionCtx.h:11
Definition ctx.h:5