LeviLamina
Loading...
Searching...
No Matches
LiquidBlock.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
LiquidBlock
:
public
::BlockLegacy
{
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
36
getCollisionShape(
::Block
const
&,
::IConstBlockSource
const
&,
::BlockPos
const
&,
::optional_ref<::GetCollisionShapeInterface const>
)
37
const
/*override*/
;
38
39
// vIndex: 123
40
virtual
void
animateTickBedrockLegacy(
::BlockAnimateTickData
const
& tickData)
const
/*override*/
;
41
42
// vIndex: 87
43
virtual
void
neighborChanged(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& neighborPos)
const
44
/*override*/
;
45
46
// vIndex: 57
47
virtual
bool
checkIsPathable(
::Actor
& entity,
::BlockPos
const
& lastPathPos,
::BlockPos
const
& pathPos)
const
48
/*override*/
;
49
50
// vIndex: 115
51
virtual
void
onGraphicsModeChanged(
::BlockGraphicsModeChangeContext
const
&
context
)
/*override*/
;
52
53
// vIndex: 131
54
virtual
void
_addHardCodedBlockComponents(
::Experiments
const
&)
/*override*/
;
55
56
// vIndex: 0
57
virtual
~LiquidBlock
()
/*override*/
=
default
;
58
// NOLINTEND
59
60
public
:
61
// member functions
62
// NOLINTBEGIN
63
MCAPI
void
_solidify(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& changedNeighbor)
const
;
64
65
MCAPI
void
emitFizzParticle(
::BlockSource
& region,
::BlockPos
const
& p)
const
;
66
67
MCAPI
void
onPlaceBase(
::BlockEvents::BlockPlaceEvent
& eventData)
const
;
68
69
MCAPI
void
solidify(
::BlockSource
& region,
::BlockPos
const
& pos,
::BlockPos
const
& changedNeighbor)
const
;
70
71
MCAPI
void
trySpreadFire(
::BlockSource
& region,
::BlockPos
const
& pos,
::Random
& random)
const
;
72
// NOLINTEND
73
74
public
:
75
// static functions
76
// NOLINTBEGIN
77
MCAPI static ::Vec3 _getFlow(
::IConstBlockSource
const
& region,
::BlockPos
const
& pos,
::Material
const
& material);
78
// NOLINTEND
79
80
public
:
81
// destructor thunk
82
// NOLINTBEGIN
83
84
// NOLINTEND
85
86
public
:
87
// virtual function thunks
88
// NOLINTBEGIN
89
MCAPI
bool
$mayPick(
::BlockSource
const
& region,
::Block
const
& block,
bool
liquid)
const
;
90
91
MCFOLD ::AABB
92
$getCollisionShape(
::Block
const
&,
::IConstBlockSource
const
&,
::BlockPos
const
&,
::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
MCAPI
static
void
** $vftable();
110
// NOLINTEND
111
};
AABB
Definition
AABB.h:16
Actor
Definition
Actor.h:104
BlockEvents::BlockPlaceEvent
Definition
BlockPlaceEvent.h:15
BlockLegacy
Definition
BlockLegacy.h:88
BlockPos
Definition
BlockPos.h:18
BlockSource
Definition
BlockSource.h:67
Block
Definition
Block.h:36
Experiments
Definition
Experiments.h:14
GetCollisionShapeInterface
Definition
GetCollisionShapeInterface.h:13
IConstBlockSource
Definition
IConstBlockSource.h:24
LiquidBlock
Definition
LiquidBlock.h:27
Material
Definition
Material.h:8
Random
Definition
Random.h:16
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
LiquidBlock.h
Generated on Sat Apr 26 2025 05:56:21 for LeviLamina by
1.12.0