LeviLamina
Loading...
Searching...
No Matches
LadderBlock.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/block/BlockType.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
AABB
;
11
class
Actor
;
12
class
Block
;
13
class
BlockPos
;
14
class
BlockSource
;
15
class
Vec3
;
16
namespace
BlockEvents {
class
BlockQueuedTickEvent
; }
17
// clang-format on
18
19
class
LadderBlock :
public
::BlockType {
20
public
:
21
// prevent constructor by default
22
LadderBlock();
23
24
public
:
25
// virtual functions
26
// NOLINTBEGIN
27
virtual ::AABB
const
& getVisualShape(
::Block
const
& block,
::AABB
& bufferAABB)
const
/*override*/
;
28
29
virtual
bool
mayPlace(
::BlockSource
& region,
::BlockPos
const
& pos, uchar face)
const
/*override*/
;
30
31
virtual ::Block
const
&
32
getPlacementBlock(
::Actor
const
& by,
::BlockPos
const
& pos, uchar face,
::Vec3
const
& clickPos,
int
itemValue)
const
33
/*override*/
;
34
35
virtual ::Block
const
& sanitizeFillBlock(
::Block
const
& block)
const
/*override*/
;
36
37
virtual
bool
canSurvive(
::BlockSource
& region,
::BlockPos
const
& pos)
const
/*override*/
;
38
39
virtual
void
neighborChanged(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& neighborPos)
const
40
/*override*/
;
41
42
virtual
bool
isLavaBlocking()
const
/*override*/
;
43
// NOLINTEND
44
45
public
:
46
// member functions
47
// NOLINTBEGIN
48
MCAPI LadderBlock(::std::string
const
& nameId,
int
id
);
49
50
MCFOLD
void
tick(
::BlockEvents::BlockQueuedTickEvent
& eventData)
const
;
51
// NOLINTEND
52
53
public
:
54
// constructor thunks
55
// NOLINTBEGIN
56
MCAPI
void
* $ctor(::std::string
const
& nameId,
int
id
);
57
// NOLINTEND
58
59
public
:
60
// virtual function thunks
61
// NOLINTBEGIN
62
MCAPI ::AABB
const
& $getVisualShape(
::Block
const
& block,
::AABB
& bufferAABB)
const
;
63
64
MCAPI
bool
$mayPlace(
::BlockSource
& region,
::BlockPos
const
& pos, uchar face)
const
;
65
66
MCAPI ::Block
const
& $getPlacementBlock(
67
::Actor
const
& by,
68
::BlockPos
const
& pos,
69
uchar face,
70
::Vec3
const
& clickPos,
71
int
itemValue
72
)
const
;
73
74
MCAPI ::Block
const
& $sanitizeFillBlock(
::Block
const
& block)
const
;
75
76
MCAPI
bool
$canSurvive(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
77
78
MCAPI
void
$neighborChanged(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& neighborPos)
const
;
79
80
MCFOLD
bool
$isLavaBlocking()
const
;
81
82
83
// NOLINTEND
84
85
public
:
86
// vftables
87
// NOLINTBEGIN
88
MCAPI
static
void
** $vftable();
89
// NOLINTEND
90
};
AABB
Definition
AABB.h:18
Actor
Definition
Actor.h:125
BlockEvents::BlockQueuedTickEvent
Definition
BlockQueuedTickEvent.h:18
BlockPos
Definition
BlockPos.h:21
BlockSource
Definition
BlockSource.h:73
Block
Definition
Block.h:69
Vec3
Definition
Vec3.h:10
src
mc
world
level
block
LadderBlock.h
Generated on
for LeviLamina by
1.16.1