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 // 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
40 virtual ::InteractionResult
41 _useOn(::ItemStack& instance, ::Actor& actor, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const
42 /*override*/;
43
44 virtual ~CocoaBeanItem() /*override*/ = default;
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50 MCFOLD ::Item& $setIconInfo(::std::string const& name, int id);
51
52 MCAPI ::std::string $buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const;
53
54 MCFOLD bool $isDye() const;
55
56 MCFOLD bool $isValidAuxValue(int auxValue) const;
57
58 MCAPI ::InteractionResult
59 $_useOn(::ItemStack& instance, ::Actor& actor, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const;
60
61
62 // NOLINTEND
63
64public:
65 // vftables
66 // NOLINTBEGIN
67 MCAPI static void** $vftable();
68 // NOLINTEND
69};
Definition Actor.h:106
Definition BlockPos.h:19
Definition CocoaBeanItem.h:20
Definition CompoundTag.h:23
Definition InteractionResult.h:5
Definition ItemDescriptor.h:24
Definition ItemStack.h:26
Definition Vec3.h:10