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