LeviLamina
Loading...
Searching...
No Matches
SculkShriekerBlockActor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/actor/BlockActor.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class BlockPos;
12class BlockSource;
13class CompoundTag;
14class DataLoadHelper;
15class ILevel;
16class Player;
17class SaveContext;
19// clang-format on
20
22public:
23 // SculkShriekerBlockActor inner types declare
24 // clang-format off
25 struct QueuedResponse;
26 // clang-format on
27
28 // SculkShriekerBlockActor inner types define
30 public:
31 // member variables
32 // NOLINTBEGIN
34 // NOLINTEND
35
36 public:
37 // prevent constructor by default
38 QueuedResponse& operator=(QueuedResponse const&);
41 };
42
43public:
44 // member variables
45 // NOLINTBEGIN
46 ::ll::TypedStorage<8, 200, ::VibrationListener> mVibrationListener;
47 ::ll::TypedStorage<8, 80, ::std::optional<::gsl::final_action<::std::function<void()>>>> mListenerRegistration;
48 ::ll::TypedStorage<4, 8, ::std::optional<::SculkShriekerBlockActor::QueuedResponse>> mQueuedResponse;
49 // NOLINTEND
50
51public:
52 // virtual functions
53 // NOLINTBEGIN
54 // vIndex: 7
55 virtual void tick(::BlockSource& region) /*override*/;
56
57 // vIndex: 13
58 virtual void onRemoved(::BlockSource& region) /*override*/;
59
60 // vIndex: 1
61 virtual void load(::ILevel& level, ::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper) /*override*/;
62
63 // vIndex: 2
64 virtual bool save(::CompoundTag& tag, ::SaveContext const& saveContext) const /*override*/;
65
66 // vIndex: 0
67 virtual ~SculkShriekerBlockActor() /*override*/ = default;
68 // NOLINTEND
69
70public:
71 // member functions
72 // NOLINTBEGIN
73 MCAPI explicit SculkShriekerBlockActor(::BlockPos const& pos);
74
75 MCAPI void tryRespond(::BlockSource& region, ::BlockPos const& pos);
76
77 MCAPI bool tryShriek(::BlockSource& region, ::BlockPos pos, ::Player& provokingPlayer);
78 // NOLINTEND
79
80public:
81 // static functions
82 // NOLINTBEGIN
83 MCAPI static bool _canRespond(::BlockSource const& region, ::BlockPos const& pos);
84
85 MCAPI static ::Player* tryGetPlayerInHierarchy(::Actor* actor);
86 // NOLINTEND
87
88public:
89 // constructor thunks
90 // NOLINTBEGIN
91 MCAPI void* $ctor(::BlockPos const& pos);
92 // NOLINTEND
93
94public:
95 // destructor thunk
96 // NOLINTBEGIN
97
98 // NOLINTEND
99
100public:
101 // virtual function thunks
102 // NOLINTBEGIN
103 MCFOLD void $tick(::BlockSource& region);
104
105 MCFOLD void $onRemoved(::BlockSource& region);
106
107 MCAPI void $load(::ILevel& level, ::CompoundTag const& tag, ::DataLoadHelper& dataLoadHelper);
108
109 MCAPI bool $save(::CompoundTag& tag, ::SaveContext const& saveContext) const;
110 // NOLINTEND
111
112public:
113 // vftables
114 // NOLINTBEGIN
115 MCAPI static void** $vftable();
116 // NOLINTEND
117};
Definition Actor.h:104
Definition BlockActor.h:32
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition CompoundTag.h:13
Definition DataLoadHelper.h:20
Definition ILevel.h:203
Definition Player.h:119
Definition SaveContext.h:5
Definition SculkShriekerBlockActor.h:21
Definition VibrationListener.h:23
Definition SculkShriekerBlockActor.h:29
Definition Alias.h:14