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