LeviLamina
Loading...
Searching...
No Matches
IceBlock.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
BaseGameVersion
;
11
class
Block
;
12
class
BlockPos
;
13
class
BlockSource
;
14
class
Experiments
;
15
class
Player
;
16
namespace
BlockEvents {
class
BlockRandomTickEvent
; }
17
// clang-format on
18
19
class
IceBlock
:
public
::BlockType {
20
public
:
21
// member variables
22
// NOLINTBEGIN
23
::ll::TypedStorage<1, 1, bool> mPacked;
24
// NOLINTEND
25
26
public
:
27
// virtual functions
28
// NOLINTBEGIN
29
virtual ::Block
const
* playerWillDestroy(
::Player
& player,
::BlockPos
const
& pos,
::Block
const
& block)
const
30
/*override*/
;
31
32
virtual
bool
breaksFallingBlocks(
::Block
const
& block,
::BaseGameVersion
const
version)
const
/*override*/
;
33
34
virtual
void
_addHardCodedBlockComponents(
::Experiments
const
& experiments)
/*override*/
;
35
36
virtual
bool
canBeOriginalSurface(
bool
aboveSeaLevel)
const
/*override*/
;
37
38
virtual
~IceBlock
()
/*override*/
=
default
;
39
// NOLINTEND
40
41
public
:
42
// member functions
43
// NOLINTBEGIN
44
MCAPI
void
randomTick(
::BlockEvents::BlockRandomTickEvent
& eventData)
const
;
45
// NOLINTEND
46
47
public
:
48
// static functions
49
// NOLINTBEGIN
50
MCAPI static ::Block
const
& _getMeltedBlockAndSendEvents(
::BlockSource
& region,
::BlockPos
const
& pos);
51
// NOLINTEND
52
53
public
:
54
// virtual function thunks
55
// NOLINTBEGIN
56
MCAPI ::Block
const
* $playerWillDestroy(
::Player
& player,
::BlockPos
const
& pos,
::Block
const
& block)
const
;
57
58
MCFOLD
bool
$breaksFallingBlocks(
::Block
const
& block,
::BaseGameVersion
const
version)
const
;
59
60
MCAPI
void
$_addHardCodedBlockComponents(
::Experiments
const
& experiments);
61
62
MCAPI
bool
$canBeOriginalSurface(
bool
aboveSeaLevel)
const
;
63
64
65
// NOLINTEND
66
67
public
:
68
// vftables
69
// NOLINTBEGIN
70
MCNAPI
static
void
**
$vftable
();
71
// NOLINTEND
72
};
BaseGameVersion
Definition
BaseGameVersion.h:8
BlockEvents::BlockRandomTickEvent
Definition
BlockRandomTickEvent.h:16
BlockPos
Definition
BlockPos.h:19
BlockSource
Definition
BlockSource.h:68
Block
Definition
Block.h:43
Experiments
Definition
Experiments.h:14
IceBlock
Definition
IceBlock.h:19
IceBlock::$vftable
static MCAPI void ** $vftable()
Player
Definition
Player.h:125
src
mc
world
level
block
IceBlock.h
Generated on
for LeviLamina by
1.16.1