LeviLamina
Loading...
Searching...
No Matches
SetItemDamageFunction.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
SetItemDamageFunction
:
public
::LootItemFunction
{
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<4, 8, ::RandomValueBounds> mDamage;
22
// NOLINTEND
23
24
public
:
25
// virtual functions
26
// NOLINTBEGIN
27
virtual
~SetItemDamageFunction
()
/*override*/
=
default
;
28
29
virtual
void
apply(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&)
/*override*/
;
30
31
virtual
void
apply(
::ItemInstance
& item,
::Random
& random,
::LootTableContext
&)
/*override*/
;
32
33
virtual ::LootItemFunction::FunctionType getFunctionType()
const
/*override*/
;
34
// NOLINTEND
35
36
public
:
37
// member functions
38
// NOLINTBEGIN
39
MCFOLD ::RandomValueBounds getDamage()
const
;
40
// NOLINTEND
41
42
public
:
43
// virtual function thunks
44
// NOLINTBEGIN
45
MCFOLD
void
$apply(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&);
46
47
MCFOLD
void
$apply(
::ItemInstance
& item,
::Random
& random,
::LootTableContext
&);
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:35
LootItemFunction
Definition
LootItemFunction.h:17
LootTableContext
Definition
LootTableContext.h:21
Random
Definition
Random.h:10
SetItemDamageFunction
Definition
SetItemDamageFunction.h:17
SetItemDamageFunction::$vftable
static MCAPI void ** $vftable()
src
mc
world
level
storage
loot
functions
SetItemDamageFunction.h
Generated on
for LeviLamina by
1.16.1