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
GameCallbacks.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
class
GameCallbacks
{
6
public
:
7
// virtual functions
8
// NOLINTBEGIN
9
virtual
~GameCallbacks
() =
default
;
10
11
virtual
void
onLevelCorrupt() = 0;
12
13
virtual
void
onGameModeChanged() = 0;
14
15
virtual
void
onBeforeSimTick();
16
17
virtual
void
onTick(
int
nTick,
int
maxTick) = 0;
18
19
virtual
void
onInternetUpdate() = 0;
20
21
virtual
void
onGameSessionReset() = 0;
22
23
virtual
void
onLevelExit() = 0;
24
25
virtual
void
onRequestResourceReload() = 0;
26
27
virtual
void
updateScreens() = 0;
28
// NOLINTEND
29
30
public
:
31
// virtual function thunks
32
// NOLINTBEGIN
33
MCNAPI
void
$onBeforeSimTick
();
34
35
36
// NOLINTEND
37
};
GameCallbacks
Definition
GameCallbacks.h:5
GameCallbacks::$onBeforeSimTick
MCAPI void $onBeforeSimTick()
src
mc
world
GameCallbacks.h
Generated on
for LeviLamina by
1.16.1