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 // constructor thunks
67 // NOLINTBEGIN
68 MCAPI void* $ctor(
69 ::ActorDefinitionGroup* definitions,
70 ::ActorDefinitionIdentifier const& definitionName,
71 ::EntityContext& entityContext
72 );
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78 MCAPI void $normalTick();
79
80 MCAPI bool $isInvulnerableTo(::ActorDamageSource const& source) const;
81
82 MCFOLD float $getShadowRadius() const;
83
84 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
85
86 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
87
88 MCAPI bool $_hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
89 // NOLINTEND
90
91public:
92 // vftables
93 // NOLINTBEGIN
94 MCNAPI static void** $vftable();
95 // NOLINTEND
96};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:32
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