LeviLamina
Loading...
Searching...
No Matches
CreakingHeartBlockActor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/legacy/ActorUniqueID.h"
7#include "mc/world/level/block/actor/VanillaBlockActor.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Block;
13class BlockPos;
14class BlockSource;
15class CompoundTag;
16class DataLoadHelper;
17class ILevel;
18class Level;
19class SaveContext;
20// clang-format on
21
22class CreakingHeartBlockActor : public ::VanillaBlockActor {
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<4, 4, uint> mCooldown;
27 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mSpawnedCreakingID;
28 ::ll::TypedStorage<4, 4, uint> mTrailResidualDuration;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual void load(::ILevel& level, ::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
35
36 virtual bool save(::CompoundTag& tag, ::SaveContext const& saveContext) const /*override*/;
37
38 virtual bool saveItemInstanceData(::CompoundTag& tag) const /*override*/;
39
40 virtual void tick(::BlockSource& region) /*override*/;
41
42 virtual void onRemoved(::BlockSource& region) /*override*/;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI void despawnSpawnedCreaking(::Level& level);
49
50 MCAPI void executeEvent(
51 ::BlockSource& region,
52 ::BlockPos const&,
53 ::Block const& block,
54 ::std::string const& eventName,
55 ::Actor& actor
56 );
57
58 MCAPI void onSpawnedCreakingDamaged(::BlockSource& region, ::Actor& creaking);
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCAPI void $load(::ILevel& level, ::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
65
66 MCAPI bool $save(::CompoundTag& tag, ::SaveContext const& saveContext) const;
67
68 MCFOLD bool $saveItemInstanceData(::CompoundTag& tag) const;
69
70 MCAPI void $tick(::BlockSource& region);
71
72 MCAPI void $onRemoved(::BlockSource& region);
73
74
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
81
83
85
86 MCNAPI static void** $vftableForBlockActor();
87 // NOLINTEND
88};
Definition Actor.h:113
Definition BlockPos.h:17
Definition BlockSource.h:71
Definition Block.h:41
Definition CompoundTag.h:18
Definition CreakingHeartBlockActor.h:22
static MCAPI void ** $vftableForIVanillaMainBlockActorComponent()
static MCAPI void ** $vftableForBlockActor()
static MCAPI void ** $vftableForIVanillaTickBlockActorComponent()
static MCAPI void ** $vftableForIVanillaRenderBlockActorComponent()
Definition DataLoadHelper.h:20
Definition ILevel.h:221
Definition Level.h:254
Definition SaveContext.h:5