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/Item.h"
7#include "mc/world/level/block/DoorBlock.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Block;
13class BlockPos;
14class BlockSource;
16class ItemStack;
17class Vec3;
18// clang-format on
19
20class DoorItem : public ::Item {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 4, ::DoorBlock::DoorType> mType;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 DoorItem();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ::InteractionResult
35 _useOn(::ItemStack& instance, ::Actor& actor, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const
36 /*override*/;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI DoorItem(::std::string const& name, int id, ::DoorBlock::DoorType type);
43
44 MCAPI bool _place(::BlockSource& region, ::BlockPos pos, ::Block const& block) const;
45 // NOLINTEND
46
47public:
48 // constructor thunks
49 // NOLINTBEGIN
50 MCAPI void* $ctor(::std::string const& name, int id, ::DoorBlock::DoorType type);
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCAPI ::InteractionResult
57 $_useOn(::ItemStack& instance, ::Actor& actor, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const;
58
59
60 // NOLINTEND
61
62public:
63 // vftables
64 // NOLINTBEGIN
65 MCAPI static void** $vftable();
66 // NOLINTEND
67};
Definition Actor.h:125
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Block.h:69
Definition InteractionResult.h:5
Definition ItemStack.h:35
Definition Vec3.h:10