LeviLamina
Loading...
Searching...
No Matches
GlowSquid.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7#include "mc/world/actor/ActorEvent.h"
8#include "mc/world/actor/animal/Squid.h"
9
10// auto generated forward declare list
11// clang-format off
14class ActorHurtResult;
15class BlockPos;
16class EntityContext;
18// clang-format on
19
20class GlowSquid : public ::Squid {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mStartTime;
25 ::ll::TypedStorage<1, 1, bool> mGoingDark;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 GlowSquid();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual void normalTick() /*override*/;
36
37 virtual void handleEntityEvent(::ActorEvent id, int data) /*override*/;
38
39 virtual float _getWalkTargetValue(::BlockPos const& pos) /*override*/;
40
41 virtual ::ActorHurtResult
42 _hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
43
44 virtual ::SharedTypes::Legacy::LevelSoundEvent _getInkSquirtSoundEvent() const /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI GlowSquid(
51 ::ActorDefinitionGroup* definitions,
52 ::ActorDefinitionIdentifier const& definitionName,
53 ::EntityContext& entityContext
54 );
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCAPI void* $ctor(
61 ::ActorDefinitionGroup* definitions,
62 ::ActorDefinitionIdentifier const& definitionName,
63 ::EntityContext& entityContext
64 );
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCAPI void $normalTick();
71
72 MCAPI void $handleEntityEvent(::ActorEvent id, int data);
73
74 MCFOLD float $_getWalkTargetValue(::BlockPos const& pos);
75
76 MCAPI ::ActorHurtResult $_hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
77
78 MCAPI ::SharedTypes::Legacy::LevelSoundEvent $_getInkSquirtSoundEvent() const;
79
80
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCAPI static void** $vftable();
87 // NOLINTEND
88};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:37
Definition ActorHurtResult.h:5
Definition BlockPos.h:21
Definition EntityContext.h:17
Definition ActorDefinitionIdentifier.h:15