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 index) /*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 // virtual function thunks
56 // NOLINTBEGIN
57 MCFOLD ::Item& $setIconInfo(::std::string const& name, int index);
58
59 MCAPI ::std::string $buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const;
60
61 MCFOLD bool $isDye() const;
62
63 MCFOLD bool $isValidAuxValue(int auxValue) const;
64
65 MCAPI ::InteractionResult
66 $_useOn(::ItemStack& instance, ::Actor& actor, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const;
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
Definition Actor.h:103
Definition BlockPos.h:18
Definition CocoaBeanItem.h:20
static MCAPI void ** $vftable()
Definition CompoundTag.h:13
Definition InteractionResult.h:5
Definition ItemDescriptor.h:22
Definition ItemStack.h:25
Definition Item.h:65
Definition Vec3.h:10