Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
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
12
class
Actor
;
13
class
BlockPos
;
14
class
InteractionResult
;
15
class
ItemStack
;
16
class
Vec3
;
17
// clang-format on
18
19
class
DoorItem
:
public
::Item {
20
public
:
21
// member variables
22
// NOLINTBEGIN
23
::ll::TypedStorage<4, 4, ::DoorBlock::DoorType> mType;
24
// NOLINTEND
25
26
public
:
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
39
public
:
40
// virtual function thunks
41
// NOLINTBEGIN
42
MCNAPI ::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
54
public
:
55
// vftables
56
// NOLINTBEGIN
57
MCNAPI
static
void
**
$vftable
();
58
// NOLINTEND
59
};
Actor
Definition
Actor.h:116
BlockPos
Definition
BlockPos.h:14
DoorItem
Definition
DoorItem.h:19
DoorItem::$_useOn
MCAPI::InteractionResult $_useOn(::ItemStack &instance, ::Actor &actor, ::BlockPos pos, uchar face, ::HandSlot handSlot, ::Vec3 const &clickPos) const
DoorItem::$vftable
static MCAPI void ** $vftable()
InteractionResult
Definition
InteractionResult.h:5
ItemStack
Definition
ItemStack.h:26
Vec3
Definition
Vec3.h:10
src
mc
world
item
DoorItem.h
Generated on
for LeviLamina by
1.16.1