LeviLamina
Loading...
Searching...
No Matches
SlimeBlock.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
BlockPos
;
11
class
EntityContext
;
12
class
Experiments
;
13
struct
UpdateEntityAfterFallOnInterface
;
14
namespace
BlockEvents {
class
BlockEntityFallOnEvent
; }
15
// clang-format on
16
17
class
SlimeBlock
:
public
::BlockType {
18
public
:
19
// virtual functions
20
// NOLINTBEGIN
21
virtual
void
_addHardCodedBlockComponents(
::Experiments
const
&)
/*override*/
;
22
23
virtual
void
onStandOn(
::EntityContext
& entity,
::BlockPos
const
& pos)
const
/*override*/
;
24
25
virtual
void
updateEntityAfterFallOn(
::BlockPos
const
& pos,
::UpdateEntityAfterFallOnInterface
& entity)
const
26
/*override*/
;
27
28
virtual
bool
isBounceBlock()
const
/*override*/
;
29
30
virtual
int
getExtraRenderLayers()
const
/*override*/
;
31
32
virtual
~SlimeBlock
()
/*override*/
=
default
;
33
// NOLINTEND
34
35
public
:
36
// member functions
37
// NOLINTBEGIN
38
MCFOLD
void
onFallOn(
::BlockEvents::BlockEntityFallOnEvent
& eventData)
const
;
39
// NOLINTEND
40
41
public
:
42
// virtual function thunks
43
// NOLINTBEGIN
44
MCAPI
void
$_addHardCodedBlockComponents(
::Experiments
const
&);
45
46
MCFOLD
void
$onStandOn(
::EntityContext
& entity,
::BlockPos
const
& pos)
const
;
47
48
MCAPI
void
$updateEntityAfterFallOn(
::BlockPos
const
& pos,
::UpdateEntityAfterFallOnInterface
& entity)
const
;
49
50
MCFOLD
bool
$isBounceBlock()
const
;
51
52
MCFOLD
int
$getExtraRenderLayers()
const
;
53
54
55
// NOLINTEND
56
57
public
:
58
// vftables
59
// NOLINTBEGIN
60
MCAPI
static
void
** $vftable();
61
// NOLINTEND
62
};
BlockEvents::BlockEntityFallOnEvent
Definition
BlockEntityFallOnEvent.h:16
BlockPos
Definition
BlockPos.h:19
EntityContext
Definition
EntityContext.h:16
Experiments
Definition
Experiments.h:14
SlimeBlock
Definition
SlimeBlock.h:17
UpdateEntityAfterFallOnInterface
Definition
UpdateEntityAfterFallOnInterface.h:13
src
mc
world
level
block
SlimeBlock.h
Generated on
for LeviLamina by
1.16.1