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
ScriptSpawnRulesRegistry.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/deps/script_core/lifetime_registry/scripting/StrongTypedObjectHandle.h"
7
#include "mc/deps/script_core/script_engine/scripting/Closure.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
namespace
ScriptModuleMinecraft {
class
ScriptCustomSpawnRulesRegistry
; }
12
namespace
ScriptModuleMinecraft {
class
ScriptEntitySpawnCallbackArgs
; }
13
namespace
ScriptModuleMinecraft {
class
ScriptObstructionCallbackArgs
; }
14
namespace
Scripting {
struct
ClassBinding
; }
15
// clang-format on
16
17
namespace
ScriptModuleMinecraft {
18
19
class
ScriptSpawnRulesRegistry {
20
public
:
21
// ScriptSpawnRulesRegistry inner types define
22
using
EntitySpawnCallback =
::Scripting::Closure
<
23
bool(
::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptEntitySpawnCallbackArgs>
)>;
24
25
using
ObstructionCallback =
::Scripting::Closure
<
26
bool(
::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptObstructionCallbackArgs>
)>;
27
28
public
:
29
// member variables
30
// NOLINTBEGIN
31
::ll::TypedStorage<8, 8, ::ScriptModuleMinecraft::ScriptCustomSpawnRulesRegistry&> mRegistry;
32
// NOLINTEND
33
34
public
:
35
// prevent constructor by default
36
ScriptSpawnRulesRegistry& operator=(ScriptSpawnRulesRegistry
const
&);
37
ScriptSpawnRulesRegistry(ScriptSpawnRulesRegistry
const
&);
38
ScriptSpawnRulesRegistry();
39
40
public
:
41
// static functions
42
// NOLINTBEGIN
43
MCNAPI static ::Scripting::ClassBinding
bind
();
44
// NOLINTEND
45
};
46
47
}
// namespace ScriptModuleMinecraft
ScriptModuleMinecraft::ScriptCustomSpawnRulesRegistry
Definition
ScriptCustomSpawnRulesRegistry.h:21
ScriptModuleMinecraft::ScriptEntitySpawnCallbackArgs
Definition
ScriptEntitySpawnCallbackArgs.h:18
ScriptModuleMinecraft::ScriptObstructionCallbackArgs
Definition
ScriptObstructionCallbackArgs.h:18
ScriptModuleMinecraft::ScriptSpawnRulesRegistry::bind
static MCAPI ::Scripting::ClassBinding bind()
Scripting::Closure
Definition
Closure.h:8
Scripting::StrongTypedObjectHandle
Definition
StrongTypedObjectHandle.h:8
Scripting::ClassBinding
Definition
ClassBinding.h:10
src
mc
scripting
modules
minecraft
spawn
ScriptSpawnRulesRegistry.h
Generated on
for LeviLamina by
1.16.1