LeviLamina
Loading...
Searching...
No Matches
BedItem.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 BedItem : public ::Item {
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 87
26 virtual ::std::string
27 buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const /*override*/;
28
29 // vIndex: 60
30 virtual bool isValidAuxValue(int value) const /*override*/;
31
32 // vIndex: 108
33 virtual ::ResolvedItemIconInfo getIconInfo(::ItemStackBase const& item, int, bool) 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: 117
41 virtual bool
42 _checkUseOnPermissions(::Actor& entity, ::ItemStackBase& item, uchar const& face, ::BlockPos const& pos) const
43 /*override*/;
44
45 // vIndex: 0
46 virtual ~BedItem() /*override*/ = default;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI ::InteractionResult
53 _tryUseOn(::ItemStackBase& instance, ::Actor& actor, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const;
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCAPI ::std::string
66 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
67
68 MCFOLD bool $isValidAuxValue(int value) const;
69
70 MCFOLD ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const& item, int, bool) const;
71
72 MCAPI ::InteractionResult
73 $_useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const;
74
75 MCAPI bool
76 $_checkUseOnPermissions(::Actor& entity, ::ItemStackBase& item, uchar const& face, ::BlockPos const& pos) const;
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCAPI static void** $vftable();
83 // NOLINTEND
84};
Definition Actor.h:104
Definition BedItem.h:21
Definition BlockPos.h:18
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