LeviLamina
Loading...
Searching...
No Matches
CactusBlock.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/core/utility/optional_ref.h"
7
#include "mc/world/level/block/BlockLegacy.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
AABB
;
12
class
Actor
;
13
class
Block
;
14
class
BlockPos
;
15
class
BlockSource
;
16
class
Experiments
;
17
class
GetCollisionShapeInterface
;
18
class
IConstBlockSource
;
19
class
Random
;
20
struct
BlockGraphicsModeChangeContext
;
21
namespace
BlockEvents {
class
BlockQueuedTickEvent; }
22
// clang-format on
23
24
class
CactusBlock
:
public
::BlockLegacy
{
25
public
:
26
// virtual functions
27
// NOLINTBEGIN
28
// vIndex: 137
29
virtual
void
randomTick(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
/*override*/
;
30
31
// vIndex: 5
32
virtual ::AABB
33
getCollisionShape(
::Block
const
&,
::IConstBlockSource
const
&,
::BlockPos
const
& pos,
::optional_ref<::GetCollisionShapeInterface const>
)
34
const
/*override*/
;
35
36
// vIndex: 9
37
virtual ::AABB
const
&
38
getOutline(
::Block
const
&,
::IConstBlockSource
const
&,
::BlockPos
const
& pos,
::AABB
& bufferValue)
const
39
/*override*/
;
40
41
// vIndex: 115
42
virtual
void
onGraphicsModeChanged(
::BlockGraphicsModeChangeContext
const
&
context
)
/*override*/
;
43
44
// vIndex: 79
45
virtual
bool
mayPlace(
::BlockSource
& region,
::BlockPos
const
& pos)
const
/*override*/
;
46
47
// vIndex: 87
48
virtual
void
neighborChanged(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& neighborPos)
const
49
/*override*/
;
50
51
// vIndex: 142
52
virtual
bool
canSurvive(
::BlockSource
& region,
::BlockPos
const
& pos)
const
/*override*/
;
53
54
// vIndex: 48
55
virtual
bool
isValidAuxValue(
int
value)
const
/*override*/
;
56
57
// vIndex: 128
58
virtual
bool
dealsContactDamage(
::Actor
const
& actor,
::Block
const
& block,
bool
isPathFinding)
const
/*override*/
;
59
60
// vIndex: 131
61
virtual
void
_addHardCodedBlockComponents(
::Experiments
const
&)
/*override*/
;
62
63
// vIndex: 0
64
virtual
~CactusBlock
()
/*override*/
=
default
;
65
// NOLINTEND
66
67
public
:
68
// member functions
69
// NOLINTBEGIN
70
MCFOLD
void
tick(
::BlockEvents::BlockQueuedTickEvent
& eventData)
const
;
71
// NOLINTEND
72
73
public
:
74
// destructor thunk
75
// NOLINTBEGIN
76
77
// NOLINTEND
78
79
public
:
80
// virtual function thunks
81
// NOLINTBEGIN
82
MCAPI
void
$randomTick(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
;
83
84
MCAPI ::AABB
85
$getCollisionShape(
::Block
const
&,
::IConstBlockSource
const
&,
::BlockPos
const
& pos,
::optional_ref<::GetCollisionShapeInterface const>
)
86
const
;
87
88
MCFOLD ::AABB
const
&
89
$getOutline(
::Block
const
&,
::IConstBlockSource
const
&,
::BlockPos
const
& pos,
::AABB
& bufferValue)
const
;
90
91
MCAPI
void
$onGraphicsModeChanged(
::BlockGraphicsModeChangeContext
const
&
context
);
92
93
MCAPI
bool
$mayPlace(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
94
95
MCFOLD
void
$neighborChanged(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& neighborPos)
const
;
96
97
MCAPI
bool
$canSurvive(
::BlockSource
& region,
::BlockPos
const
& pos)
const
;
98
99
MCFOLD
bool
$isValidAuxValue(
int
value)
const
;
100
101
MCFOLD
bool
$dealsContactDamage(
::Actor
const
& actor,
::Block
const
& block,
bool
isPathFinding)
const
;
102
103
MCAPI
void
$_addHardCodedBlockComponents(
::Experiments
const
&);
104
// NOLINTEND
105
106
public
:
107
// vftables
108
// NOLINTBEGIN
109
MCAPI
static
void
** $vftable();
110
// NOLINTEND
111
};
AABB
Definition
AABB.h:16
Actor
Definition
Actor.h:104
BlockEvents::BlockQueuedTickEvent
Definition
BlockQueuedTickEvent.h:15
BlockLegacy
Definition
BlockLegacy.h:88
BlockPos
Definition
BlockPos.h:18
BlockSource
Definition
BlockSource.h:67
Block
Definition
Block.h:36
CactusBlock
Definition
CactusBlock.h:24
Experiments
Definition
Experiments.h:14
GetCollisionShapeInterface
Definition
GetCollisionShapeInterface.h:13
IConstBlockSource
Definition
IConstBlockSource.h:24
Random
Definition
Random.h:16
optional_ref
Definition
optional_ref.h:10
BlockGraphicsModeChangeContext
Definition
BlockGraphicsModeChangeContext.h:5
context
Definition
context.h:5
src
mc
world
level
block
CactusBlock.h
Generated on Sat Apr 26 2025 05:56:18 for LeviLamina by
1.12.0