LeviLamina
Loading...
Searching...
No Matches
SetDataFromColorIndexFunction.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
Actor
;
11
class
Item
;
12
class
ItemInstance
;
13
class
ItemStack
;
14
class
LootTableContext
;
15
class
Random
;
16
// clang-format on
17
18
class
SetDataFromColorIndexFunction
:
public
::LootItemFunction
{
19
public
:
20
// virtual functions
21
// NOLINTBEGIN
22
// vIndex: 0
23
virtual
~SetDataFromColorIndexFunction
()
/*override*/
=
default
;
24
25
// vIndex: 4
26
virtual
void
apply(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
27
28
// vIndex: 2
29
virtual
void
apply(
::ItemInstance
& item,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
30
// NOLINTEND
31
32
public
:
33
// member functions
34
// NOLINTBEGIN
35
MCAPI
bool
_applyImpl(
36
::Item
const
*& inOutItemDef,
37
::Actor
const
* thisEntity,
38
::std::string
const
& originalItemName,
39
int
& outResultAux
40
);
41
// NOLINTEND
42
43
public
:
44
// destructor thunk
45
// NOLINTBEGIN
46
47
// NOLINTEND
48
49
public
:
50
// virtual function thunks
51
// NOLINTBEGIN
52
MCAPI
void
$apply(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
);
53
54
MCAPI
void
$apply(
::ItemInstance
& item,
::Random
& random,
::LootTableContext
&
context
);
55
// NOLINTEND
56
57
public
:
58
// vftables
59
// NOLINTBEGIN
60
MCAPI
static
void
** $vftable();
61
// NOLINTEND
62
};
Actor
Definition
Actor.h:104
ItemInstance
Definition
ItemInstance.h:16
ItemStack
Definition
ItemStack.h:25
Item
Definition
Item.h:65
LootItemFunction
Definition
LootItemFunction.h:17
LootTableContext
Definition
LootTableContext.h:20
Random
Definition
Random.h:16
SetDataFromColorIndexFunction
Definition
SetDataFromColorIndexFunction.h:18
context
Definition
context.h:5
src
mc
world
level
storage
loot
functions
SetDataFromColorIndexFunction.h
Generated on Sat Apr 26 2025 05:56:31 for LeviLamina by
1.12.0