LeviLamina
Loading...
Searching...
No Matches
ChalkboardItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/Item.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class BlockPos;
12class CompoundTag;
14class ItemDescriptor;
15class ItemStack;
16class ItemStackBase;
17class Vec3;
19// clang-format on
20
21class ChalkboardItem : public ::Item {
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 87
26 virtual ::std::string buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const*) const
27 /*override*/;
28
29 // vIndex: 108
30 virtual ::ResolvedItemIconInfo getIconInfo(::ItemStackBase const& item, int, bool) const /*override*/;
31
32 // vIndex: 118
33 virtual bool _calculatePlacePos(::ItemStackBase&, ::Actor& entity, uchar& face, ::BlockPos& pos) const /*override*/;
34
35 // vIndex: 120
36 virtual ::InteractionResult
37 _useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const
38 /*override*/;
39
40 // vIndex: 0
41 virtual ~ChalkboardItem() /*override*/ = default;
42 // NOLINTEND
43
44public:
45 // destructor thunk
46 // NOLINTBEGIN
47
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCAPI ::std::string $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const*) const;
54
55 MCFOLD ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const& item, int, bool) const;
56
57 MCFOLD bool $_calculatePlacePos(::ItemStackBase&, ::Actor& entity, uchar& face, ::BlockPos& pos) const;
58
59 MCAPI ::InteractionResult
60 $_useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const;
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCAPI static void** $vftable();
67 // NOLINTEND
68};
Definition Actor.h:104
Definition BlockPos.h:18
Definition ChalkboardItem.h:21
Definition CompoundTag.h:13
Definition InteractionResult.h:5
Definition ItemDescriptor.h:22
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition Item.h:65
Definition Vec3.h:10
Definition ResolvedItemIconInfo.h:8