LeviLamina
Loading...
Searching...
No Matches
HangingActor.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/actor/Actor.h"
7
#include "mc/world/actor/ActorInitializationMethod.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
ActorDamageSource
;
12
class
ActorDefinitionGroup
;
13
class
BlockPos
;
14
class
BlockSource
;
15
class
CompoundTag
;
16
class
DataLoadHelper
;
17
class
EntityContext
;
18
class
IConstBlockSource
;
19
struct
ActorDefinitionIdentifier
;
20
struct
VariantParameterList
;
21
// clang-format on
22
23
class
HangingActor
:
public
::Actor
{
24
public
:
25
// member variables
26
// NOLINTBEGIN
27
::ll::UntypedStorage<4, 4>
mUnkfac361;
28
::ll::UntypedStorage<4, 4>
mUnkf92ba7;
29
// NOLINTEND
30
31
public
:
32
// prevent constructor by default
33
HangingActor
& operator=(
HangingActor
const
&);
34
HangingActor
(
HangingActor
const
&);
35
HangingActor
();
36
37
public
:
38
// virtual functions
39
// NOLINTBEGIN
40
// vIndex: 24
41
virtual
void
normalTick()
/*override*/
;
42
43
// vIndex: 138
44
virtual
int
getWidth()
const
= 0;
45
46
// vIndex: 139
47
virtual
int
getHeight()
const
= 0;
48
49
// vIndex: 140
50
virtual
void
dropItem() = 0;
51
52
// vIndex: 38
53
virtual
float
getBrightness(
float
a,
::IConstBlockSource
const
& region)
const
/*override*/
;
54
55
// vIndex: 141
56
virtual
bool
placeHangingEntity(
::BlockSource
& region,
int
direction);
57
58
// vIndex: 142
59
virtual
bool
wouldSurvive(
::BlockSource
& region);
60
61
// vIndex: 64
62
virtual
bool
isInvulnerableTo(
::ActorDamageSource
const
& source)
const
/*override*/
;
63
64
// vIndex: 2
65
virtual
void
reloadHardcoded(::ActorInitializationMethod,
::VariantParameterList
const
&)
/*override*/
;
66
67
// vIndex: 3
68
virtual
void
reloadHardcodedClient(::ActorInitializationMethod)
/*override*/
;
69
70
// vIndex: 135
71
virtual
bool
_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite)
/*override*/
;
72
73
// vIndex: 137
74
virtual
void
addAdditionalSaveData(
::CompoundTag
& tag)
const
/*override*/
;
75
76
// vIndex: 136
77
virtual
void
readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
78
79
// vIndex: 8
80
virtual
~HangingActor
()
/*override*/
;
81
// NOLINTEND
82
83
public
:
84
// member functions
85
// NOLINTBEGIN
86
MCAPI
HangingActor
(
87
::ActorDefinitionGroup
* definitions,
88
::ActorDefinitionIdentifier
const
& definitionName,
89
::EntityContext
& entityContext
90
);
91
92
MCAPI
bool
_blockIsObstruction(
::BlockSource
const
& region,
::BlockPos
const
& blockPos)
const
;
93
94
MCAPI
void
_calculateAABB();
95
96
MCAPI
void
_calculateActorPositionFromPlacementPosition(
::BlockPos
const
& blockPos);
97
98
MCAPI
bool
_canSurviveOnBlock(
::BlockSource
const
& region,
::BlockPos
const
& blockPos,
bool
beingPlaced)
const
;
99
100
MCAPI
bool
_wouldSurvive(
::BlockSource
& region,
::BlockPos
const
& blockPos,
bool
beingPlaced);
101
// NOLINTEND
102
103
public
:
104
// constructor thunks
105
// NOLINTBEGIN
106
MCAPI
void
* $ctor(
107
::ActorDefinitionGroup
* definitions,
108
::ActorDefinitionIdentifier
const
& definitionName,
109
::EntityContext
& entityContext
110
);
111
// NOLINTEND
112
113
public
:
114
// destructor thunk
115
// NOLINTBEGIN
116
MCFOLD
void
$dtor();
117
// NOLINTEND
118
119
public
:
120
// virtual function thunks
121
// NOLINTBEGIN
122
MCAPI
void
$normalTick();
123
124
MCAPI
float
$getBrightness(
float
a,
::IConstBlockSource
const
& region)
const
;
125
126
MCFOLD
bool
$placeHangingEntity(
::BlockSource
& region,
int
direction);
127
128
MCAPI
bool
$wouldSurvive(
::BlockSource
& region);
129
130
MCFOLD
bool
$isInvulnerableTo(
::ActorDamageSource
const
& source)
const
;
131
132
MCAPI
bool
$_hurt(
::ActorDamageSource
const
& source,
float
damage,
bool
knock,
bool
ignite);
133
134
MCAPI
void
$addAdditionalSaveData(
::CompoundTag
& tag)
const
;
135
136
MCAPI
void
$readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
137
// NOLINTEND
138
139
public
:
140
// vftables
141
// NOLINTBEGIN
142
MCAPI
static
void
** $vftable();
143
// NOLINTEND
144
};
ActorDamageSource
Definition
ActorDamageSource.h:18
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:27
Actor
Definition
Actor.h:104
BlockPos
Definition
BlockPos.h:18
BlockSource
Definition
BlockSource.h:67
CompoundTag
Definition
CompoundTag.h:13
DataLoadHelper
Definition
DataLoadHelper.h:20
EntityContext
Definition
EntityContext.h:16
HangingActor
Definition
HangingActor.h:23
IConstBlockSource
Definition
IConstBlockSource.h:24
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:13
VariantParameterList
Definition
VariantParameterList.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
actor
HangingActor.h
Generated on Sat Apr 26 2025 05:56:05 for LeviLamina by
1.12.0