LeviLamina
Loading...
Searching...
No Matches
MinecartItem.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/actor/item/MinecartType.h"
7
#include "mc/world/item/HandSlot.h"
8
#include "mc/world/item/Item.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
Actor
;
13
class
BlockPos
;
14
class
BlockSource
;
15
class
Container
;
16
class
InteractionResult
;
17
class
ItemStack
;
18
class
Vec3
;
19
// clang-format on
20
21
class
MinecartItem
:
public
::Item {
22
public
:
23
// member variables
24
// NOLINTBEGIN
25
::ll::TypedStorage<4, 4, ::MinecartType> mCartType;
26
// NOLINTEND
27
28
public
:
29
// virtual functions
30
// NOLINTBEGIN
31
virtual
bool
dispense(
::BlockSource
& region,
::Container
& container,
int
slot,
::Vec3
const
& pos, uchar face)
const
32
/*override*/
;
33
34
virtual
bool
isDestructive(
int
)
const
/*override*/
;
35
36
virtual ::InteractionResult _useOn(
37
::ItemStack
& instance,
38
::Actor
& entity,
39
::BlockPos
pos,
40
uchar face,
41
::HandSlot handSlot,
42
::Vec3
const
& clickPos
43
)
const
/*override*/
;
44
// NOLINTEND
45
46
public
:
47
// virtual function thunks
48
// NOLINTBEGIN
49
MCAPI
bool
$dispense(
::BlockSource
& region,
::Container
& container,
int
slot,
::Vec3
const
& pos, uchar face)
const
;
50
51
MCAPI
bool
$isDestructive(
int
)
const
;
52
53
MCAPI ::InteractionResult $_useOn(
54
::ItemStack
& instance,
55
::Actor
& entity,
56
::BlockPos
pos,
57
uchar face,
58
::HandSlot handSlot,
59
::Vec3
const
& clickPos
60
)
const
;
61
62
63
// NOLINTEND
64
65
public
:
66
// vftables
67
// NOLINTBEGIN
68
MCAPI
static
void
** $vftable();
69
// NOLINTEND
70
};
Actor
Definition
Actor.h:113
BlockPos
Definition
BlockPos.h:17
BlockSource
Definition
BlockSource.h:71
Container
Definition
Container.h:35
InteractionResult
Definition
InteractionResult.h:5
ItemStack
Definition
ItemStack.h:26
MinecartItem
Definition
MinecartItem.h:21
Vec3
Definition
Vec3.h:10
src
mc
world
item
MinecartItem.h
Generated on
for LeviLamina by
1.16.1