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