LeviLamina
Loading...
Searching...
No Matches
VibrationListenerUtils.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class BlockSource;
8class GameEvent;
10// clang-format on
11
12namespace VibrationListenerUtils {
13// functions
14// NOLINTBEGIN
15MCNAPI int getGameEventFrequency(::GameEvent const& gameEvent);
16
17MCNAPI ::GameEvent const& getResonateEventByFrequency(int frequency);
18
19MCNAPI bool ignoreVibrationIfOnVibrationDampeningBlock(
20 ::BlockSource& region,
21 ::GameEvent const& gameEvent,
22 ::GameEventContext const& gameEventContext
23);
24
25MCNAPI bool
26ignoreVibrationIfSneaking(::BlockSource& gameEvent, ::GameEvent const& gameEventContext, ::GameEventContext const&);
27// NOLINTEND
28
29} // namespace VibrationListenerUtils
Definition BlockSource.h:73
Definition GameEvent.h:9
Definition GameEventContext.h:14