LeviLamina
Loading...
Searching...
No Matches
BoneMealItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/FertilizerItem.h"
7#include "mc/world/item/ItemColor.h"
8
9// auto generated forward declare list
10// clang-format off
11class CompoundTag;
12class Item;
13class ItemDescriptor;
14// clang-format on
15
16class BoneMealItem : public ::FertilizerItem {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<1, 1, bool const> mAllowLegacyUseAsDye;
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 BoneMealItem();
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual ::Item& setIconInfo(::std::string const& name, int id) /*override*/;
31
32 virtual ::std::string buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const /*override*/;
33
34 virtual bool isDye() const /*override*/;
35
36 virtual ::ItemColor getItemColor() const /*override*/;
37
38 virtual bool isValidAuxValue(int auxValue) const /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI BoneMealItem(::std::string const& name, int id, bool allowLegacyUseAsDye);
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCAPI void* $ctor(::std::string const& name, int id, bool allowLegacyUseAsDye);
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCFOLD ::Item& $setIconInfo(::std::string const& name, int id);
57
58 MCAPI ::std::string $buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const;
59
60 MCFOLD bool $isDye() const;
61
62 MCFOLD ::ItemColor $getItemColor() const;
63
64 MCFOLD bool $isValidAuxValue(int auxValue) const;
65
66
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCAPI static void** $vftable();
73 // NOLINTEND
74};
Definition CompoundTag.h:23
static MCAPI void ** $vftable()
Definition ItemDescriptor.h:25
Definition Item.h:71