LeviLamina
Loading...
Searching...
No Matches
SculkSensorVibrationConfig.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/events/gameevents/VibrationListenerConfig.h"
7#include "mc/world/level/BlockPos.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class BlockSource;
13class GameEvent;
14struct GameEventContext;
15// clang-format on
16
17class SculkSensorVibrationConfig : public ::VibrationListenerConfig {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 12, ::BlockPos> mPosition;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 SculkSensorVibrationConfig();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual void onSignalReceive(
32 ::BlockSource& region,
33 ::BlockPos const& gameEvent,
34 ::GameEvent const& source,
35 ::Actor* distance,
36 float listenerRange,
37 uint,
38 ::Actor*
39 ) /*override*/;
40
41 virtual bool shouldListen(
42 ::BlockSource& region,
43 ::GameEvent const& gameEvent,
44 ::GameEventContext const& gameEventContext
45 ) /*override*/;
46
47 virtual void onSerializableDataChanged(::BlockSource& region) /*override*/;
48
49 virtual bool canReceiveOnlyIfAdjacentChunksAreTicking() const /*override*/;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCAPI explicit SculkSensorVibrationConfig(::BlockPos const& pos);
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor(::BlockPos const& pos);
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCAPI void $onSignalReceive(
68 ::BlockSource& region,
69 ::BlockPos const& gameEvent,
70 ::GameEvent const& source,
71 ::Actor* distance,
72 float listenerRange,
73 uint,
74 ::Actor*
75 );
76
77 MCAPI bool
78 $shouldListen(::BlockSource& region, ::GameEvent const& gameEvent, ::GameEventContext const& gameEventContext);
79
80 MCFOLD void $onSerializableDataChanged(::BlockSource& region);
81
82 MCFOLD bool $canReceiveOnlyIfAdjacentChunksAreTicking() const;
83
84
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
Definition Actor.h:125
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition GameEvent.h:9
static MCAPI void ** $vftable()
Definition VibrationListenerConfig.h:14
Definition GameEventContext.h:14