LeviLamina
Loading...
Searching...
No Matches
SlabBlockItem.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/item/BlockItem.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Actor
;
11
class
Block
;
12
class
BlockPos
;
13
class
HashedString
;
14
class
InteractionResult
;
15
class
ItemStack
;
16
class
ItemStackBase
;
17
class
Vec3
;
18
// clang-format on
19
20
class
SlabBlockItem
:
public
::BlockItem
{
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::TypedStorage<8, 48, ::HashedString> mDoubleSlabId;
25
// NOLINTEND
26
27
public
:
28
// virtual functions
29
// NOLINTBEGIN
30
// vIndex: 120
31
virtual ::InteractionResult
32
_useOn(
::ItemStack
& instance,
::Actor
& entity,
::BlockPos
pos, uchar face,
::Vec3
const
& clickPos)
const
33
/*override*/
;
34
35
// vIndex: 118
36
virtual
bool
_calculatePlacePos(
::ItemStackBase
& instance,
::Actor
& actor, uchar& face,
::BlockPos
& pos)
const
37
/*override*/
;
38
39
// vIndex: 0
40
virtual
~SlabBlockItem
()
/*override*/
=
default
;
41
// NOLINTEND
42
43
public
:
44
// member functions
45
// NOLINTBEGIN
46
MCAPI
SlabBlockItem
(::std::string
const
& name,
int
id
,
::HashedString
const
& doubleSlabId);
47
48
MCAPI
bool
_canConvertToDoubleBlock(
::ItemStackBase
& instance,
::Actor
& face, uchar& block,
::Block
const
&)
const
;
49
// NOLINTEND
50
51
public
:
52
// constructor thunks
53
// NOLINTBEGIN
54
MCAPI
void
* $ctor(::std::string
const
& name,
int
id
,
::HashedString
const
& doubleSlabId);
55
// NOLINTEND
56
57
public
:
58
// destructor thunk
59
// NOLINTBEGIN
60
61
// NOLINTEND
62
63
public
:
64
// virtual function thunks
65
// NOLINTBEGIN
66
MCAPI ::InteractionResult
67
$_useOn(
::ItemStack
& instance,
::Actor
& entity,
::BlockPos
pos, uchar face,
::Vec3
const
& clickPos)
const
;
68
69
MCAPI
bool
$_calculatePlacePos(
::ItemStackBase
& instance,
::Actor
& actor, uchar& face,
::BlockPos
& pos)
const
;
70
// NOLINTEND
71
72
public
:
73
// vftables
74
// NOLINTBEGIN
75
MCAPI
static
void
** $vftable();
76
// NOLINTEND
77
};
Actor
Definition
Actor.h:104
BlockItem
Definition
BlockItem.h:23
BlockPos
Definition
BlockPos.h:18
Block
Definition
Block.h:36
HashedString
Definition
HashedString.h:5
InteractionResult
Definition
InteractionResult.h:5
ItemStackBase
Definition
ItemStackBase.h:35
ItemStack
Definition
ItemStack.h:25
SlabBlockItem
Definition
SlabBlockItem.h:20
Vec3
Definition
Vec3.h:10
src
mc
world
level
block
SlabBlockItem.h
Generated on Sat Apr 26 2025 05:56:22 for LeviLamina by
1.12.0