LeviLamina
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
ItemInstance
;
11
class
ItemStack
;
12
class
LootItemCondition
;
13
class
LootTableContext
;
14
class
Random
;
15
namespace
Json {
class
Value
; }
16
// clang-format on
17
18
class
SetItemLoreFunction
:
public
::LootItemFunction
{
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mLore;
23
// NOLINTEND
24
25
public
:
26
// virtual functions
27
// NOLINTBEGIN
28
virtual
~SetItemLoreFunction
()
/*override*/
=
default
;
29
30
virtual
void
apply(
::ItemStack
& item,
::Random
&,
::LootTableContext
&)
/*override*/
;
31
32
virtual
void
apply(
::ItemInstance
& itemInstance,
::Random
&,
::LootTableContext
&)
/*override*/
;
33
34
virtual ::LootItemFunction::FunctionType getFunctionType()
const
/*override*/
;
35
// NOLINTEND
36
37
public
:
38
// static functions
39
// NOLINTBEGIN
40
MCAPI static ::std::unique_ptr<::LootItemFunction>
41
deserialize(
::Json::Value
object
, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
42
// NOLINTEND
43
44
public
:
45
// virtual function thunks
46
// NOLINTBEGIN
47
MCFOLD
void
$apply(
::ItemStack
& item,
::Random
&,
::LootTableContext
&);
48
49
MCFOLD
void
$apply(
::ItemInstance
& itemInstance,
::Random
&,
::LootTableContext
&);
50
51
MCFOLD ::LootItemFunction::FunctionType $getFunctionType()
const
;
52
53
54
// NOLINTEND
55
56
public
:
57
// vftables
58
// NOLINTBEGIN
59
MCNAPI
static
void
**
$vftable
();
60
// NOLINTEND
61
};
ItemInstance
Definition
ItemInstance.h:15
ItemStack
Definition
ItemStack.h:26
Json::Value
Definition
Value.h:16
LootItemCondition
Definition
LootItemCondition.h:12
LootItemFunction
Definition
LootItemFunction.h:17
LootTableContext
Definition
LootTableContext.h:20
Random
Definition
Random.h:10
SetItemLoreFunction
Definition
SetItemLoreFunction.h:18
SetItemLoreFunction::$vftable
static MCAPI void ** $vftable()
src
mc
world
level
storage
loot
functions
SetItemLoreFunction.h
Generated on
for LeviLamina by
1.16.1