LeviLamina
Loading...
Searching...
No Matches
BlockPlanterItem.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 Block;
11class CompoundTag;
12class Item;
13class ItemDescriptor;
14class ItemStackBase;
16namespace cereal { struct ReflectionCtx; }
17// clang-format on
18
19class BlockPlanterItem : public ::ComponentItem {
20public:
21 // prevent constructor by default
22 BlockPlanterItem();
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ::Item& setIconInfo(::std::string const& name, int id) /*override*/;
28
29 virtual ::ResolvedItemIconInfo
30 getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const /*override*/;
31
32 virtual ::std::string
33 buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const /*override*/;
34
35 virtual ::BlockPlanterItem& setDescriptionId(::std::string const& descriptionId) /*override*/;
36
37 virtual ~BlockPlanterItem() /*override*/ = default;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI BlockPlanterItem(
44 ::std::string const& name,
45 int id,
47 ::Block const& block,
48 bool useBlockDescription
49 );
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCAPI void* $ctor(
56 ::std::string const& name,
57 int id,
59 ::Block const& block,
60 bool useBlockDescription
61 );
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCFOLD ::Item& $setIconInfo(::std::string const& name, int id);
68
69 MCFOLD ::ResolvedItemIconInfo
70 $getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const;
71
72 MCFOLD ::std::string
73 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
74
75 MCFOLD ::BlockPlanterItem& $setDescriptionId(::std::string const& descriptionId);
76
77
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCAPI static void** $vftable();
84 // NOLINTEND
85};
Definition Block.h:43
static MCAPI void ** $vftable()
Definition CompoundTag.h:23
Definition ItemDescriptor.h:24
Definition ItemStackBase.h:44
Definition Item.h:68
Definition ResolvedItemIconInfo.h:8
Definition ReflectionCtx.h:11
Definition ctx.h:5