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
SetSpawnEggFunction.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/actor/ActorDefinitionIdentifier.h"
7
#include "mc/world/level/storage/loot/functions/LootItemFunction.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
ItemStackBase
;
12
class
LootItemCondition
;
13
class
LootTableContext
;
14
class
Random
;
15
namespace
Json {
class
Value
; }
16
// clang-format on
17
18
class
SetSpawnEggFunction
:
public
::LootItemFunction
{
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<8, 176, ::ActorDefinitionIdentifier> mActor;
23
// NOLINTEND
24
25
public
:
26
// virtual functions
27
// NOLINTBEGIN
28
virtual ::LootItemFunction::FunctionType getFunctionType()
const
/*override*/
;
29
30
virtual
void
applyPreVersion(
::ItemStackBase
& item,
::Random
&,
::LootTableContext
&
context
)
/*override*/
;
31
32
virtual
void
apply26U6(
::ItemStackBase
& item,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
33
// NOLINTEND
34
35
public
:
36
// static functions
37
// NOLINTBEGIN
38
MCNAPI static ::std::unique_ptr<::LootItemFunction>
39
deserialize
(
::Json::Value
object
, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
40
// NOLINTEND
41
42
public
:
43
// virtual function thunks
44
// NOLINTBEGIN
45
MCNAPI ::LootItemFunction::FunctionType
$getFunctionType
()
const
;
46
47
MCNAPI
void
$applyPreVersion
(
::ItemStackBase
& item,
::Random
&,
::LootTableContext
&
context
);
48
49
MCNAPI
void
$apply26U6
(
::ItemStackBase
& item,
::Random
& random,
::LootTableContext
&
context
);
50
51
52
// NOLINTEND
53
};
ItemStackBase
Definition
ItemStackBase.h:45
Json::Value
Definition
Value.h:16
LootItemCondition
Definition
LootItemCondition.h:12
LootItemFunction
Definition
LootItemFunction.h:20
LootTableContext
Definition
LootTableContext.h:20
Random
Definition
Random.h:10
SetSpawnEggFunction
Definition
SetSpawnEggFunction.h:18
SetSpawnEggFunction::deserialize
static MCAPI ::std::unique_ptr<::LootItemFunction > deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition > > &predicates)
SetSpawnEggFunction::$applyPreVersion
MCAPI void $applyPreVersion(::ItemStackBase &item, ::Random &, ::LootTableContext &context)
SetSpawnEggFunction::$getFunctionType
MCAPI::LootItemFunction::FunctionType $getFunctionType() const
SetSpawnEggFunction::$apply26U6
MCAPI void $apply26U6(::ItemStackBase &item, ::Random &random, ::LootTableContext &context)
context
Definition
context.h:5
src
mc
world
level
storage
loot
functions
SetSpawnEggFunction.h
Generated on
for LeviLamina by
1.16.1