LeviLamina
Loading...
Searching...
No Matches
Cushion.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/actor/Actor.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
ActorDamageSource
;
11
class
ActorDefinitionGroup
;
12
class
ActorHurtResult
;
13
class
BlockSource
;
14
class
EntityContext
;
15
class
HashedString
;
16
class
Vec3
;
17
struct
ActorDefinitionIdentifier
;
18
struct
HurtParameters
;
19
// clang-format on
20
21
class
Cushion :
public
::Actor {
22
public
:
23
// prevent constructor by default
24
Cushion();
25
26
public
:
27
// virtual functions
28
// NOLINTBEGIN
29
virtual
float
getInterpolatedBodyYaw(
float
)
const
/*override*/
;
30
31
virtual
void
remove()
/*override*/
;
32
33
virtual
float
getShadowRadius()
const
/*override*/
;
34
35
virtual ::ActorHurtResult _hurt(
::ActorDamageSource
const
& source,
float
,
::HurtParameters
const
&)
/*override*/
;
36
// NOLINTEND
37
38
public
:
39
// member functions
40
// NOLINTBEGIN
41
MCAPI Cushion(
42
::ActorDefinitionGroup
* definitions,
43
::ActorDefinitionIdentifier
const
& definitionName,
44
::EntityContext
& entityContext
45
);
46
47
MCAPI
bool
_wouldSurviveAt(
::BlockSource
const
& region,
::Vec3
const
& at)
const
;
48
49
MCAPI
void
dropCushionAndRemove(
bool
dropCushion, ::Actor* breakingActor);
50
51
MCAPI
bool
wouldSurvive(
::BlockSource
const
& region)
const
;
52
// NOLINTEND
53
54
public
:
55
// static functions
56
// NOLINTBEGIN
57
MCAPI static ::HashedString getVariantItemName(
int
color);
58
// NOLINTEND
59
60
public
:
61
// constructor thunks
62
// NOLINTBEGIN
63
MCAPI
void
* $ctor(
64
::ActorDefinitionGroup
* definitions,
65
::ActorDefinitionIdentifier
const
& definitionName,
66
::EntityContext
& entityContext
67
);
68
// NOLINTEND
69
70
public
:
71
// virtual function thunks
72
// NOLINTBEGIN
73
MCAPI
float
$getInterpolatedBodyYaw(
float
)
const
;
74
75
MCAPI
void
$remove();
76
77
MCFOLD
float
$getShadowRadius()
const
;
78
79
MCAPI ::ActorHurtResult $_hurt(
::ActorDamageSource
const
& source,
float
,
::HurtParameters
const
&);
80
81
82
// NOLINTEND
83
84
public
:
85
// vftables
86
// NOLINTBEGIN
87
MCNAPI
static
void
**
$vftable
();
88
// NOLINTEND
89
};
ActorDamageSource
Definition
ActorDamageSource.h:18
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:26
ActorHurtResult
Definition
ActorHurtResult.h:5
BlockSource
Definition
BlockSource.h:71
Cushion::$vftable
static MCAPI void ** $vftable()
EntityContext
Definition
EntityContext.h:15
HashedString
Definition
HashedString.h:5
Vec3
Definition
Vec3.h:10
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:15
HurtParameters
Definition
HurtParameters.h:8
src
mc
world
actor
Cushion.h
Generated on
for LeviLamina by
1.16.1