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 // vIndex: 107
31 virtual ::Item& setIconInfo(::std::string const& name, int id) /*override*/;
32
33 // vIndex: 87
34 virtual ::std::string buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const /*override*/;
35
36 // vIndex: 16
37 virtual bool isDye() const /*override*/;
38
39 // vIndex: 17
40 virtual ::ItemColor getItemColor() const /*override*/;
41
42 // vIndex: 60
43 virtual bool isValidAuxValue(int auxValue) const /*override*/;
44
45 // vIndex: 120
46 virtual ::InteractionResult
47 _useOn(::ItemStack& instance, ::Actor& actor, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const
48 /*override*/;
49
50 // vIndex: 0
51 virtual ~CocoaBeanItem() /*override*/ = default;
52 // NOLINTEND
53
54public:
55 // destructor thunk
56 // NOLINTBEGIN
57
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCFOLD ::Item& $setIconInfo(::std::string const& name, int id);
64
65 MCAPI ::std::string $buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const;
66
67 MCFOLD bool $isDye() const;
68
69 MCFOLD bool $isValidAuxValue(int auxValue) const;
70
71 MCAPI ::InteractionResult
72 $_useOn(::ItemStack& instance, ::Actor& actor, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const;
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCAPI static void** $vftable();
79 // NOLINTEND
80};
Definition Actor.h:104
Definition BlockPos.h:18
Definition CocoaBeanItem.h:20
Definition CompoundTag.h:13
Definition InteractionResult.h:5
Definition ItemDescriptor.h:22
Definition ItemStack.h:25
Definition Item.h:65
Definition Vec3.h:10