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