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/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
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
::BlockLegacy
{
28
public
:
29
// virtual functions
30
// NOLINTBEGIN
31
// vIndex: 76
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: 122
43
virtual
void
animateTickBedrockLegacy(
::BlockAnimateTickData
const
& tickData)
const
/*override*/
;
44
45
// vIndex: 86
46
virtual
void
neighborChanged(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& neighborPos)
const
47
/*override*/
;
48
49
// vIndex: 56
50
virtual
bool
checkIsPathable(
::Actor
& entity,
::BlockPos
const
& lastPathPos,
::BlockPos
const
& pathPos)
const
51
/*override*/
;
52
53
// vIndex: 114
54
virtual
void
onGraphicsModeChanged(
::BlockGraphicsModeChangeContext
const
&
context
)
/*override*/
;
55
56
// vIndex: 130
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
void
onPlaceBase(
::BlockEvents::BlockPlaceEvent
& eventData)
const
;
71
72
MCAPI
void
solidify(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& changedNeighbor)
const
;
73
74
MCAPI
void
trySpreadFire(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
;
75
// NOLINTEND
76
77
public
:
78
// static functions
79
// NOLINTBEGIN
80
MCAPI static ::Vec3 _getFlow(
::IConstBlockSource
const
& region,
::BlockPos
const
& pos,
::Material
const
& material);
81
// NOLINTEND
82
83
public
:
84
// virtual function thunks
85
// NOLINTBEGIN
86
MCAPI
bool
$mayPick(
::BlockSource
const
& region,
::Block
const
& block,
bool
liquid)
const
;
87
88
MCFOLD ::AABB $getCollisionShape(
89
::Block
const
&,
90
::IConstBlockSource
const
&,
91
::BlockPos
const
&,
92
::optional_ref<::GetCollisionShapeInterface const>
93
)
const
;
94
95
MCAPI
void
$animateTickBedrockLegacy(
::BlockAnimateTickData
const
& tickData)
const
;
96
97
MCAPI
void
$neighborChanged(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& neighborPos)
const
;
98
99
MCAPI
bool
$checkIsPathable(
::Actor
& entity,
::BlockPos
const
& lastPathPos,
::BlockPos
const
& pathPos)
const
;
100
101
MCAPI
void
$onGraphicsModeChanged(
::BlockGraphicsModeChangeContext
const
&
context
);
102
103
MCAPI
void
$_addHardCodedBlockComponents(
::Experiments
const
&);
104
// NOLINTEND
105
106
public
:
107
// vftables
108
// NOLINTBEGIN
109
MCNAPI
static
void
**
$vftable
();
110
// NOLINTEND
111
};
AABB
Definition
AABB.h:18
Actor
Definition
Actor.h:103
BlockEvents::BlockPlaceEvent
Definition
BlockPlaceEvent.h:16
BlockLegacy
Definition
BlockLegacy.h:88
BlockPos
Definition
BlockPos.h:18
BlockSource
Definition
BlockSource.h:67
Block
Definition
Block.h:38
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:11
Vec3
Definition
Vec3.h:10
optional_ref
Definition
optional_ref.h:10
BlockAnimateTickData
Definition
BlockAnimateTickData.h:5
BlockGraphicsModeChangeContext
Definition
BlockGraphicsModeChangeContext.h:5
context
Definition
context.h:5
src
mc
world
level
block
LiquidBlockBase.h
Generated on Fri Jun 13 2025 05:05:15 for LeviLamina by
1.12.0