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
GeneticsDefinition.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/util/json_util/JsonSchemaObjectNode.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
EntityContext
;
11
class
GeneticsComponent
;
12
struct
GeneDefinition
;
13
namespace
JsonUtil {
class
EmptyClass
; }
14
// clang-format on
15
16
class
GeneticsDefinition
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::TypedStorage<4, 4, float> mMutationRate;
21
::ll::TypedStorage<8, 24, ::std::vector<::GeneDefinition>> mGeneDefinitions;
22
// NOLINTEND
23
24
public
:
25
// member functions
26
// NOLINTBEGIN
27
MCNAPI
void
addGeneDefinition
(
::GeneDefinition
const
& geneDefinition);
28
29
MCNAPI
void
initialize
(
::EntityContext
& entity,
::GeneticsComponent
& component)
const
;
30
// NOLINTEND
31
32
public
:
33
// static functions
34
// NOLINTBEGIN
35
MCNAPI
static
void
buildSchema
(
36
::std::shared_ptr<
::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::GeneticsDefinition>
>& root
37
);
38
// NOLINTEND
39
};
EntityContext
Definition
EntityContext.h:15
GeneticsComponent
Definition
GeneticsComponent.h:14
GeneticsDefinition
Definition
GeneticsDefinition.h:16
GeneticsDefinition::initialize
MCAPI void initialize(::EntityContext &entity, ::GeneticsComponent &component) const
GeneticsDefinition::buildSchema
static MCAPI void buildSchema(::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::GeneticsDefinition > > &root)
GeneticsDefinition::addGeneDefinition
MCAPI void addGeneDefinition(::GeneDefinition const &geneDefinition)
JsonUtil::EmptyClass
Definition
EmptyClass.h:7
JsonUtil::JsonSchemaObjectNode
Definition
JsonSchemaObjectNode.h:8
GeneDefinition
Definition
GeneDefinition.h:13
src
mc
entity
components_json_legacy
GeneticsDefinition.h
Generated on
for LeviLamina by
1.16.1