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
SetItemLoreFunction.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
SetItemLoreFunction
:
public
::LootItemFunction
{
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mLore;
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
&,
::LootTableContext
&)
/*override*/
;
30
// NOLINTEND
31
32
public
:
33
// static functions
34
// NOLINTBEGIN
35
MCNAPI static ::std::unique_ptr<::LootItemFunction>
36
deserialize
(
::Json::Value
object
, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
37
// NOLINTEND
38
39
public
:
40
// virtual function thunks
41
// NOLINTBEGIN
42
MCNAPI ::LootItemFunction::FunctionType
$getFunctionType
()
const
;
43
44
MCNAPI
void
$applyPreVersion
(
::ItemStackBase
& item,
::Random
&,
::LootTableContext
&);
45
46
47
// NOLINTEND
48
};
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
SetItemLoreFunction
Definition
SetItemLoreFunction.h:17
SetItemLoreFunction::deserialize
static MCAPI ::std::unique_ptr<::LootItemFunction > deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition > > &predicates)
SetItemLoreFunction::$applyPreVersion
MCAPI void $applyPreVersion(::ItemStackBase &item, ::Random &, ::LootTableContext &)
SetItemLoreFunction::$getFunctionType
MCAPI::LootItemFunction::FunctionType $getFunctionType() const
src
mc
world
level
storage
loot
functions
SetItemLoreFunction.h
Generated on
for LeviLamina by
1.16.1