LeviLamina
Loading...
Searching...
No Matches
CushionItem.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 CushionItem : public ::Item {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<1, 1, ::ItemColor> mCushionColor;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ::InteractionResult _useOn(
32 ::ItemStack& instance,
33 ::Actor& spawningActor,
34 ::BlockPos pos,
35 uchar face,
36 ::HandSlot handSlot,
37 ::Vec3 const& clickPos
38 ) const /*override*/;
39
40 virtual ::std::string buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const /*override*/;
41 // NOLINTEND
42
43public:
44 // virtual function thunks
45 // NOLINTBEGIN
46 MCAPI ::InteractionResult $_useOn(
47 ::ItemStack& instance,
48 ::Actor& spawningActor,
49 ::BlockPos pos,
50 uchar face,
51 ::HandSlot handSlot,
52 ::Vec3 const& clickPos
53 ) const;
54
55 MCAPI ::std::string $buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const;
56
57
58 // NOLINTEND
59
60public:
61 // vftables
62 // NOLINTBEGIN
63 MCNAPI static void** $vftable();
64 // NOLINTEND
65};
Definition Actor.h:113
Definition BlockPos.h:17
Definition CompoundTag.h:18
Definition CushionItem.h:21
static MCAPI void ** $vftable()
Definition InteractionResult.h:5
Definition ItemDescriptor.h:25
Definition ItemStack.h:26
Definition Vec3.h:10