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 ActorHurtResult;
13class CompoundTag;
14class DataLoadHelper;
15class EntityContext;
17// clang-format on
18
19class EnderCrystal : public ::Actor {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 64, ::std::function<void(::EnderCrystal&, ::ActorDamageSource const&)>>
24 mCrystalDamagedCallback;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 EnderCrystal();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual void normalTick() /*override*/;
35
36 virtual bool isInvulnerableTo(::ActorDamageSource const& source) const /*override*/;
37
38 virtual float getShadowRadius() const /*override*/;
39
40 virtual void addAdditionalSaveData(::CompoundTag& tag) const /*override*/;
41
42 virtual void readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
43
44 virtual ::ActorHurtResult
45 _hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite) /*override*/;
46
47 virtual ~EnderCrystal() /*override*/ = default;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI EnderCrystal(
54 ::ActorDefinitionGroup* definitions,
55 ::ActorDefinitionIdentifier const& definitionName,
56 ::EntityContext& entityContext
57 );
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor(
64 ::ActorDefinitionGroup* definitions,
65 ::ActorDefinitionIdentifier const& definitionName,
66 ::EntityContext& entityContext
67 );
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCAPI void $normalTick();
74
75 MCAPI bool $isInvulnerableTo(::ActorDamageSource const& source) const;
76
77 MCFOLD float $getShadowRadius() const;
78
79 MCAPI void $addAdditionalSaveData(::CompoundTag& tag) const;
80
81 MCAPI void $readAdditionalSaveData(::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
82
83 MCAPI ::ActorHurtResult $_hurt(::ActorDamageSource const& source, float damage, bool knock, bool ignite);
84
85
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCAPI static void** $vftable();
92 // NOLINTEND
93};
Definition ActorDamageSource.h:18
Definition ActorDefinitionGroup.h:36
Definition ActorHurtResult.h:5
Definition CompoundTag.h:23
Definition DataLoadHelper.h:20
Definition EntityContext.h:16
Definition ActorDefinitionIdentifier.h:15