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 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI BlockPlanterItem(
42 ::std::string const& name,
43 int id,
45 ::Block const& block,
46 bool useBlockDescription
47 );
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCAPI void* $ctor(
54 ::std::string const& name,
55 int id,
57 ::Block const& block,
58 bool useBlockDescription
59 );
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCFOLD ::Item& $setIconInfo(::std::string const& name, int id);
66
67 MCFOLD ::ResolvedItemIconInfo
68 $getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const;
69
70 MCFOLD ::std::string
71 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
72
73 MCFOLD ::BlockPlanterItem& $setDescriptionId(::std::string const& descriptionId);
74
75
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCAPI static void** $vftable();
82 // NOLINTEND
83};
Definition Block.h:69
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