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