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