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
BlockEventBase.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/BlockPos.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Block
;
11
class
BlockSource
;
12
// clang-format on
13
14
namespace
BlockEvents {
15
16
class
BlockEventBase {
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::TypedStorage<4, 12, ::BlockPos const> mPos;
21
// NOLINTEND
22
23
public
:
24
BlockEventBase() : mPos(
BlockPos
(0, 0, 0)) {}
25
BlockEventBase(
BlockPos
const
& pos) : mPos(pos) {}
26
27
public
:
28
// virtual functions
29
// NOLINTBEGIN
30
virtual
~BlockEventBase() =
default
;
31
32
virtual ::Block
const
& getBlock()
const
;
33
34
virtual ::BlockSource
const
& getBlockSource()
const
= 0;
35
// NOLINTEND
36
37
public
:
38
// virtual function thunks
39
// NOLINTBEGIN
40
MCAPI ::Block
const
& $getBlock()
const
;
41
42
43
// NOLINTEND
44
};
45
46
}
// namespace BlockEvents
BlockPos
Definition
BlockPos.h:14
BlockSource
Definition
BlockSource.h:72
Block
Definition
Block.h:42
src
mc
world
level
block
block_events
BlockEventBase.h
Generated on
for LeviLamina by
1.16.1