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
20public:
21 // prevent constructor by default
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 // vIndex: 107
28 virtual ::Item& setIconInfo(::std::string const& name, int id) /*override*/;
29
30 // vIndex: 108
31 virtual ::ResolvedItemIconInfo
32 getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const /*override*/;
33
34 // vIndex: 87
35 virtual ::std::string
36 buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const /*override*/;
37
38 // vIndex: 3
39 virtual ::BlockPlanterItem& setDescriptionId(::std::string const& description) /*override*/;
40
41 // vIndex: 0
42 virtual ~BlockPlanterItem() /*override*/ = default;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI BlockPlanterItem(
49 ::std::string const& name,
50 int id,
52 ::Block const& block,
53 bool useBlockDescription
54 );
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCAPI void* $ctor(
61 ::std::string const& name,
62 int id,
64 ::Block const& block,
65 bool useBlockDescription
66 );
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 MCFOLD ::std::string
78 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
79
80 MCFOLD ::BlockPlanterItem& $setDescriptionId(::std::string const& description);
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCNAPI static void** $vftable();
87 // NOLINTEND
88};
Definition BlockPlanterItem.h:19
static MCAPI void ** $vftable()
Definition Block.h:38
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