LeviLamina
Loading...
Searching...
No Matches
LootingEnchantFunction.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/storage/loot/RandomValueBounds.h"
7
#include "mc/world/level/storage/loot/functions/LootItemFunction.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
ItemInstance
;
12
class
ItemStack
;
13
class
LootTableContext
;
14
class
Random
;
15
// clang-format on
16
17
class
LootingEnchantFunction
:
public
::LootItemFunction
{
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<4, 8, ::RandomValueBounds> mValue;
22
// NOLINTEND
23
24
public
:
25
// virtual functions
26
// NOLINTBEGIN
27
virtual
~LootingEnchantFunction
()
/*override*/
=
default
;
28
29
virtual
void
apply(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
30
31
virtual
void
apply(
::ItemInstance
& itemInstance,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
32
33
virtual ::LootItemFunction::FunctionType getFunctionType()
const
/*override*/
;
34
// NOLINTEND
35
36
public
:
37
// member functions
38
// NOLINTBEGIN
39
MCAPI
int
_getLootingEnchantLevel(
::LootTableContext
&
context
)
const
;
40
// NOLINTEND
41
42
public
:
43
// virtual function thunks
44
// NOLINTBEGIN
45
MCAPI
void
$apply(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
);
46
47
MCAPI
void
$apply(
::ItemInstance
& itemInstance,
::Random
& random,
::LootTableContext
&
context
);
48
49
MCFOLD ::LootItemFunction::FunctionType $getFunctionType()
const
;
50
51
52
// NOLINTEND
53
54
public
:
55
// vftables
56
// NOLINTBEGIN
57
MCNAPI
static
void
**
$vftable
();
58
// NOLINTEND
59
};
ItemInstance
Definition
ItemInstance.h:15
ItemStack
Definition
ItemStack.h:26
LootItemFunction
Definition
LootItemFunction.h:17
LootTableContext
Definition
LootTableContext.h:20
LootingEnchantFunction
Definition
LootingEnchantFunction.h:17
LootingEnchantFunction::$vftable
static MCAPI void ** $vftable()
Random
Definition
Random.h:10
context
Definition
context.h:5
src
mc
world
level
storage
loot
functions
LootingEnchantFunction.h
Generated on
for LeviLamina by
1.16.1