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
IConstBlockSource
;
13
class
Material
;
14
namespace
BlockEvents {
class
BlockEntityFallOnEvent
; }
15
// clang-format on
16
17
class
SlimeBlock :
public
::BlockType {
18
public
:
19
// prevent constructor by default
20
SlimeBlock();
21
22
public
:
23
// virtual functions
24
// NOLINTBEGIN
25
virtual
void
onStandOn(
::EntityContext
& entity,
::BlockPos
const
&)
const
/*override*/
;
26
27
virtual
int
getExtraRenderLayers()
const
/*override*/
;
28
29
virtual
float
getBounciness(
::IConstBlockSource
const
&,
::BlockPos
const
&)
const
/*override*/
;
30
// NOLINTEND
31
32
public
:
33
// member functions
34
// NOLINTBEGIN
35
MCAPI SlimeBlock(::std::string
const
& nameId,
int
id
,
::Material
const
& material);
36
37
MCFOLD
void
onFallOn(
::BlockEvents::BlockEntityFallOnEvent
& eventData)
const
;
38
// NOLINTEND
39
40
public
:
41
// constructor thunks
42
// NOLINTBEGIN
43
MCAPI
void
* $ctor(::std::string
const
& nameId,
int
id
,
::Material
const
& material);
44
// NOLINTEND
45
46
public
:
47
// virtual function thunks
48
// NOLINTBEGIN
49
MCFOLD
void
$onStandOn(
::EntityContext
& entity,
::BlockPos
const
&)
const
;
50
51
MCFOLD
int
$getExtraRenderLayers()
const
;
52
53
MCFOLD
float
$getBounciness(
::IConstBlockSource
const
&,
::BlockPos
const
&)
const
;
54
55
56
// NOLINTEND
57
58
public
:
59
// vftables
60
// NOLINTBEGIN
61
MCAPI
static
void
** $vftable();
62
// NOLINTEND
63
};
BlockEvents::BlockEntityFallOnEvent
Definition
BlockEntityFallOnEvent.h:20
BlockPos
Definition
BlockPos.h:21
EntityContext
Definition
EntityContext.h:17
IConstBlockSource
Definition
IConstBlockSource.h:24
Material
Definition
Material.h:8
src
mc
world
level
block
SlimeBlock.h
Generated on
for LeviLamina by
1.16.1