LeviLamina
Loading...
Searching...
No Matches
Slime.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/game_refs/OwnerPtr.h"
7
#include "mc/world/actor/ActorInitializationMethod.h"
8
#include "mc/world/actor/monster/Monster.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
ActorDefinitionGroup
;
13
class
BlockPos
;
14
class
CompoundTag
;
15
class
DataLoadHelper
;
16
class
EntityContext
;
17
struct
ActorDefinitionIdentifier
;
18
struct
VariantParameterList
;
19
// clang-format on
20
21
class
Slime
:
public
::Monster
{
22
public
:
23
// Slime inner types define
24
enum class
ClientEvent : schar {
25
None = 0,
26
JustLanded = 1,
27
JustJumped = 2,
28
};
29
30
public
:
31
// member variables
32
// NOLINTBEGIN
33
::ll::UntypedStorage<4, 4>
mUnk874ac2;
34
::ll::UntypedStorage<4, 4>
mUnkc3abae;
35
::ll::UntypedStorage<4, 4>
mUnkba9a10;
36
::ll::UntypedStorage<4, 4>
mUnk90285c;
37
// NOLINTEND
38
39
public
:
40
// prevent constructor by default
41
Slime
& operator=(
Slime
const
&);
42
Slime
(
Slime
const
&);
43
Slime
();
44
45
public
:
46
// virtual functions
47
// NOLINTBEGIN
48
// vIndex: 2
49
virtual
void
reloadHardcoded(::ActorInitializationMethod method,
::VariantParameterList
const
& params)
/*override*/
;
50
51
// vIndex: 35
52
virtual
float
getShadowRadius()
const
/*override*/
;
53
54
// vIndex: 93
55
virtual
void
onSynchedDataUpdate(
int
dataId)
/*override*/
;
56
57
// vIndex: 11
58
virtual
void
remove()
/*override*/
;
59
60
// vIndex: 147
61
virtual
bool
checkSpawnRules(
bool
fromSpawner)
/*override*/
;
62
63
// vIndex: 178
64
virtual
bool
doPlayLandSound();
65
66
// vIndex: 179
67
virtual
void
playJumpSound();
68
69
// vIndex: 171
70
virtual
float
_getWalkTargetValue(
::BlockPos
const
& pos)
/*override*/
;
71
72
// vIndex: 180
73
virtual
void
decreaseSquish();
74
75
// vIndex: 181
76
virtual ::OwnerPtr<::EntityContext> createChild(
int
i);
77
78
// vIndex: 137
79
virtual
void
addAdditionalSaveData(
::CompoundTag
& tag)
const
/*override*/
;
80
81
// vIndex: 136
82
virtual
void
readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
83
84
// vIndex: 8
85
virtual
~Slime
()
/*override*/
;
86
// NOLINTEND
87
88
public
:
89
// member functions
90
// NOLINTBEGIN
91
MCAPI
Slime
(
92
::ActorDefinitionGroup
* definitions,
93
::ActorDefinitionIdentifier
const
& definitionName,
94
::EntityContext
& entityContext
95
);
96
97
MCFOLD
int
getSlimeSize()
const
;
98
99
MCAPI
void
justJumped();
100
101
MCAPI
void
justLanded();
102
103
MCAPI
void
postNormalTick(
bool
wasOnGround);
104
105
MCAPI
void
setSlimeSize(
int
size);
106
// NOLINTEND
107
108
public
:
109
// constructor thunks
110
// NOLINTBEGIN
111
MCAPI
void
* $ctor(
112
::ActorDefinitionGroup
* definitions,
113
::ActorDefinitionIdentifier
const
& definitionName,
114
::EntityContext
& entityContext
115
);
116
// NOLINTEND
117
118
public
:
119
// destructor thunk
120
// NOLINTBEGIN
121
MCFOLD
void
$dtor();
122
// NOLINTEND
123
124
public
:
125
// virtual function thunks
126
// NOLINTBEGIN
127
MCAPI
void
$reloadHardcoded(::ActorInitializationMethod method,
::VariantParameterList
const
& params);
128
129
MCAPI
float
$getShadowRadius()
const
;
130
131
MCAPI
void
$onSynchedDataUpdate(
int
dataId);
132
133
MCAPI
void
$remove();
134
135
MCAPI
bool
$checkSpawnRules(
bool
fromSpawner);
136
137
MCAPI
bool
$doPlayLandSound();
138
139
MCAPI
void
$playJumpSound();
140
141
MCAPI
float
$_getWalkTargetValue(
::BlockPos
const
& pos);
142
143
MCAPI
void
$decreaseSquish();
144
145
MCAPI ::OwnerPtr<::EntityContext> $createChild(
int
i);
146
147
MCAPI
void
$addAdditionalSaveData(
::CompoundTag
& tag)
const
;
148
149
MCAPI
void
$readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
150
// NOLINTEND
151
152
public
:
153
// vftables
154
// NOLINTBEGIN
155
MCAPI
static
void
** $vftable();
156
// NOLINTEND
157
};
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:27
BlockPos
Definition
BlockPos.h:18
CompoundTag
Definition
CompoundTag.h:13
DataLoadHelper
Definition
DataLoadHelper.h:20
EntityContext
Definition
EntityContext.h:16
Monster
Definition
Monster.h:19
Slime
Definition
Slime.h:21
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:13
VariantParameterList
Definition
VariantParameterList.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
actor
monster
Slime.h
Generated on Sat Apr 26 2025 05:56:06 for LeviLamina by
1.12.0