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