LeviLamina
Loading...
Searching...
No Matches
LiquidBlockBase.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/BlockType.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
Material
;
20
class
Random
;
21
class
Vec3
;
22
struct
BlockAnimateTickData
;
23
struct
BlockGraphicsModeChangeContext
;
24
namespace
BlockEvents {
class
BlockPlaceEvent; }
25
// clang-format on
26
27
class
LiquidBlockBase
:
public
::BlockType
{
28
public
:
29
// virtual functions
30
// NOLINTBEGIN
31
// vIndex: 77
32
virtual
bool
mayPick(
::BlockSource
const
& region,
::Block
const
& block,
bool
liquid)
const
/*override*/
;
33
34
// vIndex: 5
35
virtual ::AABB getCollisionShape(
36
::Block
const
&,
37
::IConstBlockSource
const
&,
38
::BlockPos
const
&,
39
::optional_ref<::GetCollisionShapeInterface const>
40
)
const
/*override*/
;
41
42
// vIndex: 123
43
virtual
void
animateTickBedrockLegacy(
::BlockAnimateTickData
const
& tickData)
const
/*override*/
;
44
45
// vIndex: 87
46
virtual
void
neighborChanged(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& neighborPos)
const
47
/*override*/
;
48
49
// vIndex: 57
50
virtual
bool
checkIsPathable(
::Actor
& entity,
::BlockPos
const
& lastPathPos,
::BlockPos
const
& pathPos)
const
51
/*override*/
;
52
53
// vIndex: 115
54
virtual
void
onGraphicsModeChanged(
::BlockGraphicsModeChangeContext
const
&
context
)
/*override*/
;
55
56
// vIndex: 131
57
virtual
void
_addHardCodedBlockComponents(
::Experiments
const
&)
/*override*/
;
58
59
// vIndex: 0
60
virtual
~LiquidBlockBase
()
/*override*/
=
default
;
61
// NOLINTEND
62
63
public
:
64
// member functions
65
// NOLINTBEGIN
66
MCAPI
void
_solidify(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& changedNeighbor)
const
;
67
68
MCAPI
void
emitFizzParticle(
::BlockSource
& region,
::BlockPos
const
& p)
const
;
69
70
MCAPI
int
getTickDelay(
::BlockSource
& region)
const
;
71
72
MCAPI
void
onPlaceBase(
::BlockEvents::BlockPlaceEvent
& eventData)
const
;
73
74
MCAPI
void
solidify(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& changedNeighbor)
const
;
75
76
MCAPI
void
trySpreadFire(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
;
77
// NOLINTEND
78
79
public
:
80
// static functions
81
// NOLINTBEGIN
82
MCAPI static ::Vec3 _getFlow(
::IConstBlockSource
const
& region,
::BlockPos
const
& pos,
::Material
const
& material);
83
// NOLINTEND
84
85
public
:
86
// virtual function thunks
87
// NOLINTBEGIN
88
MCAPI
bool
$mayPick(
::BlockSource
const
& region,
::Block
const
& block,
bool
liquid)
const
;
89
90
MCFOLD ::AABB $getCollisionShape(
91
::Block
const
&,
92
::IConstBlockSource
const
&,
93
::BlockPos
const
&,
94
::optional_ref<::GetCollisionShapeInterface const>
95
)
const
;
96
97
MCAPI
void
$animateTickBedrockLegacy(
::BlockAnimateTickData
const
& tickData)
const
;
98
99
MCAPI
void
$neighborChanged(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& neighborPos)
const
;
100
101
MCAPI
bool
$checkIsPathable(
::Actor
& entity,
::BlockPos
const
& lastPathPos,
::BlockPos
const
& pathPos)
const
;
102
103
MCAPI
void
$onGraphicsModeChanged(
::BlockGraphicsModeChangeContext
const
&
context
);
104
105
MCAPI
void
$_addHardCodedBlockComponents(
::Experiments
const
&);
106
// NOLINTEND
107
108
public
:
109
// vftables
110
// NOLINTBEGIN
111
MCNAPI
static
void
**
$vftable
();
112
// NOLINTEND
113
};
AABB
Definition
AABB.h:18
Actor
Definition
Actor.h:102
BlockEvents::BlockPlaceEvent
Definition
BlockPlaceEvent.h:16
BlockPos
Definition
BlockPos.h:17
BlockSource
Definition
BlockSource.h:66
BlockType
Definition
BlockType.h:84
Block
Definition
Block.h:37
Experiments
Definition
Experiments.h:14
GetCollisionShapeInterface
Definition
GetCollisionShapeInterface.h:13
IConstBlockSource
Definition
IConstBlockSource.h:24
LiquidBlockBase
Definition
LiquidBlockBase.h:27
LiquidBlockBase::$vftable
static MCAPI void ** $vftable()
Material
Definition
Material.h:8
Random
Definition
Random.h:10
Vec3
Definition
Vec3.h:10
optional_ref
Definition
optional_ref.h:10
BlockAnimateTickData
Definition
BlockAnimateTickData.h:14
BlockGraphicsModeChangeContext
Definition
BlockGraphicsModeChangeContext.h:5
context
Definition
context.h:5
src-server
mc
world
level
block
LiquidBlockBase.h
Generated on Sun Oct 12 2025 06:32:28 for LeviLamina by
1.12.0