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
MCNAPI
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
// virtual function thunks
45
// NOLINTBEGIN
46
MCNAPI
void
$apply
(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
);
47
48
MCNAPI
void
$apply
(
::ItemInstance
& item,
::Random
& random,
::LootTableContext
&
context
);
49
// NOLINTEND
50
51
public
:
52
// vftables
53
// NOLINTBEGIN
54
MCNAPI
static
void
**
$vftable
();
55
// NOLINTEND
56
};
Actor
Definition
Actor.h:103
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:11
SetDataFromColorIndexFunction
Definition
SetDataFromColorIndexFunction.h:18
SetDataFromColorIndexFunction::_applyImpl
MCAPI bool _applyImpl(::Item const *&inOutItemDef, ::Actor const *thisEntity, ::std::string const &originalItemName, int &outResultAux)
SetDataFromColorIndexFunction::$apply
MCAPI void $apply(::ItemStack &item, ::Random &random, ::LootTableContext &context)
SetDataFromColorIndexFunction::$vftable
static MCAPI void ** $vftable()
SetDataFromColorIndexFunction::$apply
MCAPI void $apply(::ItemInstance &item, ::Random &random, ::LootTableContext &context)
context
Definition
context.h:5
src
mc
world
level
storage
loot
functions
SetDataFromColorIndexFunction.h
Generated on Fri Jun 13 2025 05:05:24 for LeviLamina by
1.12.0