LeviLamina
Loading...
Searching...
No Matches
SetPotionFunction.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
ItemStackBase
;
13
class
LootItemCondition
;
14
class
LootTableContext
;
15
class
Random
;
16
namespace
Json {
class
Value; }
17
// clang-format on
18
19
class
SetPotionFunction
:
public
::LootItemFunction
{
20
public
:
21
// member variables
22
// NOLINTBEGIN
23
::ll::UntypedStorage<8, 32>
mUnk8c4abd;
24
// NOLINTEND
25
26
public
:
27
// prevent constructor by default
28
SetPotionFunction
& operator=(
SetPotionFunction
const
&);
29
SetPotionFunction
(
SetPotionFunction
const
&);
30
SetPotionFunction
();
31
32
public
:
33
// virtual functions
34
// NOLINTBEGIN
35
// vIndex: 0
36
virtual
~SetPotionFunction
()
/*override*/
=
default
;
37
38
// vIndex: 4
39
virtual
void
apply(
::ItemStack
& item,
::Random
&,
::LootTableContext
&
context
)
/*override*/
;
40
41
// vIndex: 2
42
virtual
void
apply(
::ItemInstance
& item,
::Random
&,
::LootTableContext
&
context
)
/*override*/
;
43
// NOLINTEND
44
45
public
:
46
// member functions
47
// NOLINTBEGIN
48
MCAPI
void
_apply(
::ItemStackBase
& item,
::LootTableContext
const
&
context
)
const
;
49
// NOLINTEND
50
51
public
:
52
// static functions
53
// NOLINTBEGIN
54
MCAPI static ::std::unique_ptr<::LootItemFunction>
55
deserialize(
::Json::Value
object
, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
56
// NOLINTEND
57
58
public
:
59
// destructor thunk
60
// NOLINTBEGIN
61
62
// NOLINTEND
63
64
public
:
65
// virtual function thunks
66
// NOLINTBEGIN
67
MCFOLD
void
$apply(
::ItemStack
& item,
::Random
&,
::LootTableContext
&
context
);
68
69
MCFOLD
void
$apply(
::ItemInstance
& item,
::Random
&,
::LootTableContext
&
context
);
70
// NOLINTEND
71
72
public
:
73
// vftables
74
// NOLINTBEGIN
75
MCAPI
static
void
** $vftable();
76
// NOLINTEND
77
};
ItemInstance
Definition
ItemInstance.h:16
ItemStackBase
Definition
ItemStackBase.h:35
ItemStack
Definition
ItemStack.h:25
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:16
SetPotionFunction
Definition
SetPotionFunction.h:19
context
Definition
context.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
level
storage
loot
functions
SetPotionFunction.h
Generated on Sat Apr 26 2025 05:56:31 for LeviLamina by
1.12.0