Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
VibrationSelector.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/events/gameevents/VibrationInfo.h"
7
#include "mc/world/level/Tick.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
BlockPos
;
12
class
CompoundTag
;
13
class
GameEvent
;
14
struct
GameEventContext
;
15
// clang-format on
16
17
class
VibrationSelector
{
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<8, 8, ::Tick> mFirstCandidateTick;
22
::ll::TypedStorage<8, 64, ::std::optional<::VibrationInfo>> mCandidateVibrationInfo;
23
// NOLINTEND
24
25
public
:
26
// member functions
27
// NOLINTBEGIN
28
MCNAPI
void
addCandidate
(
29
::Tick
currentTick,
30
::GameEvent
const
& gameEvent,
31
::GameEventContext
const
& gameEventContext,
32
::BlockPos
const
& destinationPos
33
);
34
35
MCNAPI
void
save
(
::CompoundTag
& tag)
const
;
36
// NOLINTEND
37
};
BlockPos
Definition
BlockPos.h:14
CompoundTag
Definition
CompoundTag.h:18
GameEvent
Definition
GameEvent.h:8
VibrationSelector
Definition
VibrationSelector.h:17
VibrationSelector::addCandidate
MCAPI void addCandidate(::Tick currentTick, ::GameEvent const &gameEvent, ::GameEventContext const &gameEventContext, ::BlockPos const &destinationPos)
VibrationSelector::save
MCAPI void save(::CompoundTag &tag) const
GameEventContext
Definition
GameEventContext.h:14
Tick
Definition
Tick.h:5
src
mc
world
events
gameevents
VibrationSelector.h
Generated on
for LeviLamina by
1.16.1