LeviLamina
Loading...
Searching...
No Matches
DoorItem.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/level/block/DoorBlock.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class BlockPos;
15class ItemStack;
16class Vec3;
17// clang-format on
18
19class DoorItem : public ::Item {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 4, ::DoorBlock::DoorType> mType;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ::InteractionResult _useOn(
30 ::ItemStack& instance,
31 ::Actor& actor,
32 ::BlockPos pos,
33 uchar face,
34 ::HandSlot handSlot,
35 ::Vec3 const& clickPos
36 ) const /*override*/;
37 // NOLINTEND
38
39public:
40 // virtual function thunks
41 // NOLINTBEGIN
42 MCAPI ::InteractionResult $_useOn(
43 ::ItemStack& instance,
44 ::Actor& actor,
45 ::BlockPos pos,
46 uchar face,
47 ::HandSlot handSlot,
48 ::Vec3 const& clickPos
49 ) const;
50
51
52 // NOLINTEND
53
54public:
55 // vftables
56 // NOLINTBEGIN
57 MCAPI static void** $vftable();
58 // NOLINTEND
59};
Definition Actor.h:113
Definition BlockPos.h:17
Definition DoorItem.h:19
Definition InteractionResult.h:5
Definition ItemStack.h:26
Definition Vec3.h:10