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
MCNAPI static ::std::unique_ptr<::LootItemFunction>
49
deserialize
(
::Json::Value
object
, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
50
// NOLINTEND
51
52
public
:
53
// virtual function thunks
54
// NOLINTBEGIN
55
MCNAPI
void
$apply
(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
);
56
57
MCNAPI
void
$apply
(
::ItemInstance
& item,
::Random
& random,
::LootTableContext
&
context
);
58
// NOLINTEND
59
60
public
:
61
// vftables
62
// NOLINTBEGIN
63
MCNAPI
static
void
**
$vftable
();
64
// NOLINTEND
65
};
EnchantRandomlyFunction
Definition
EnchantRandomlyFunction.h:18
EnchantRandomlyFunction::$apply
MCAPI void $apply(::ItemInstance &item, ::Random &random, ::LootTableContext &context)
EnchantRandomlyFunction::$apply
MCAPI void $apply(::ItemStack &item, ::Random &random, ::LootTableContext &context)
EnchantRandomlyFunction::deserialize
static MCAPI ::std::unique_ptr<::LootItemFunction > deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition > > &predicates)
EnchantRandomlyFunction::$vftable
static MCAPI void ** $vftable()
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:11
context
Definition
context.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
level
storage
loot
functions
EnchantRandomlyFunction.h
Generated on Fri Jun 13 2025 05:05:24 for LeviLamina by
1.12.0