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