LeviLamina
Loading...
Searching...
No Matches
EnderCrystal.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/Actor.h"
7
8// auto generated forward declare list
9// clang-format off
12class CompoundTag;
13class DataLoadHelper;
14class EntityContext;
16// clang-format on
17
18class EnderCrystal : public ::Actor {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 64, ::std::function<void(::EnderCrystal&, ::ActorDamageSource const&)>>
23 mCrystalDamagedCallback;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 // vIndex: 24
34 virtual void normalTick() /*override*/;
35
36 // vIndex: 64
37 virtual bool isInvulnerableTo(::ActorDamageSource const& source) const /*override*/;
38
39 // vIndex: 35
40 virtual float getShadowRadius() const /*override*/;
41
42 // vIndex: 137
43 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
44
45 // vIndex: 136
46 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
47
48 // vIndex: 135
49 virtual bool _hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
50
51 // vIndex: 8
52 virtual ~EnderCrystal() /*override*/ = default;
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
58 MCAPI EnderCrystal(
59 ::ActorDefinitionGroup* definitions,
60 ::ActorDefinitionIdentifier const& definitionName,
61 ::EntityContext& entityContext
62 );
63 // NOLINTEND
64
65public:
66 // static variables
67 // NOLINTBEGIN
68 MCAPI static float const& HEAL_DISTANCE();
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCAPI void* $ctor(
75 ::ActorDefinitionGroup* definitions,
76 ::ActorDefinitionIdentifier const& definitionName,
77 ::EntityContext& entityContext
78 );
79 // NOLINTEND
80
81public:
82 // virtual function thunks
83 // NOLINTBEGIN
84 MCAPI void $normalTick();
85
86 MCAPI bool $isInvulnerableTo(::ActorDamageSource const& source) const;
87
88 MCFOLD float $getShadowRadius() const;
89
90 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
91
92 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
93
94 MCAPI bool $_hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCNAPI static void** $vftable();
101 // NOLINTEND
102};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:35
Definition Actor.h:102
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition EnderCrystal.h:18
static MCAPI void ** $vftable()
Definition EntityContext.h:16
Definition ActorDefinitionIdentifier.h:15