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
13class BlockPos;
14class CompoundTag;
15class DataLoadHelper;
16class EntityContext;
19// clang-format on
20
21class Slime : public ::Monster {
22public:
23 // Slime inner types define
24 enum class ClientEvent : schar {
25 None = 0,
26 JustLanded = 1,
27 JustJumped = 2,
28 };
29
30public:
31 // member variables
32 // NOLINTBEGIN
37 // NOLINTEND
38
39public:
40 // prevent constructor by default
41 Slime& operator=(Slime const&);
42 Slime(Slime const&);
43 Slime();
44
45public:
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
88public:
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
108public:
109 // constructor thunks
110 // NOLINTBEGIN
111 MCAPI void* $ctor(
112 ::ActorDefinitionGroup* definitions,
113 ::ActorDefinitionIdentifier const& definitionName,
114 ::EntityContext& entityContext
115 );
116 // NOLINTEND
117
118public:
119 // destructor thunk
120 // NOLINTBEGIN
121 MCFOLD void $dtor();
122 // NOLINTEND
123
124public:
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
152public:
153 // vftables
154 // NOLINTBEGIN
155 MCAPI static void** $vftable();
156 // NOLINTEND
157};
Definition ActorDefinitionGroup.h:27
Definition BlockPos.h:18
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition EntityContext.h:16
Definition Monster.h:19
Definition Slime.h:21
Definition ActorDefinitionIdentifier.h:13
Definition VariantParameterList.h:5
Definition Alias.h:14