LeviLamina
Loading...
Searching...
No Matches
VibrationListenerConfig.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
Actor
;
8
class
BlockPos
;
9
class
BlockSource
;
10
class
GameEvent
;
11
struct
GameEventContext
;
12
// clang-format on
13
14
class
VibrationListenerConfig
{
15
public
:
16
// virtual functions
17
// NOLINTBEGIN
18
// vIndex: 0
19
virtual
~VibrationListenerConfig
() =
default
;
20
21
// vIndex: 1
22
virtual
void
23
onSignalReceive(
::BlockSource
&,
::BlockPos
const
&,
::GameEvent
const
&,
::Actor
*,
float
, uint,
::Actor
*) = 0;
24
25
// vIndex: 2
26
virtual
bool
isValidVibration(
::GameEvent
const
& gameEvent);
27
28
// vIndex: 3
29
virtual
bool
shouldListen(
::BlockSource
&,
::GameEvent
const
&,
::GameEventContext
const
&) = 0;
30
31
// vIndex: 4
32
virtual
void
onSerializableDataChanged(
::BlockSource
&);
33
34
// vIndex: 5
35
virtual
bool
canReceiveOnlyIfAdjacentChunksAreTicking()
const
;
36
// NOLINTEND
37
38
public
:
39
// virtual function thunks
40
// NOLINTBEGIN
41
MCNAPI
bool
$isValidVibration
(
::GameEvent
const
& gameEvent);
42
43
MCNAPI
void
$onSerializableDataChanged
(
::BlockSource
&);
44
45
MCNAPI
bool
$canReceiveOnlyIfAdjacentChunksAreTicking
()
const
;
46
// NOLINTEND
47
};
Actor
Definition
Actor.h:103
BlockPos
Definition
BlockPos.h:18
BlockSource
Definition
BlockSource.h:67
GameEvent
Definition
GameEvent.h:8
VibrationListenerConfig
Definition
VibrationListenerConfig.h:14
VibrationListenerConfig::$isValidVibration
MCAPI bool $isValidVibration(::GameEvent const &gameEvent)
VibrationListenerConfig::$canReceiveOnlyIfAdjacentChunksAreTicking
MCAPI bool $canReceiveOnlyIfAdjacentChunksAreTicking() const
VibrationListenerConfig::$onSerializableDataChanged
MCAPI void $onSerializableDataChanged(::BlockSource &)
GameEventContext
Definition
GameEventContext.h:14
src
mc
world
events
gameevents
VibrationListenerConfig.h
Generated on Fri Jun 13 2025 05:05:05 for LeviLamina by
1.12.0