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