LeviLamina
Loading...
Searching...
No Matches
RandomDyeFunction.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
ItemStackBase
;
13
class
LootTableContext
;
14
class
Random
;
15
namespace
mce {
class
Color; }
16
// clang-format on
17
18
class
RandomDyeFunction
:
public
::LootItemFunction
{
19
public
:
20
// virtual functions
21
// NOLINTBEGIN
22
// vIndex: 0
23
virtual
~RandomDyeFunction
()
/*override*/
=
default
;
24
25
// vIndex: 4
26
virtual
void
apply(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&)
/*override*/
;
27
28
// vIndex: 2
29
virtual
void
apply(
::ItemInstance
& item,
::Random
& random,
::LootTableContext
&)
/*override*/
;
30
// NOLINTEND
31
32
public
:
33
// member functions
34
// NOLINTBEGIN
35
MCNAPI
void
_applyBase
(
::ItemStackBase
& item,
::Random
& random)
const
;
36
37
MCNAPI ::mce::Color
_getRandomArmorColor
(
::Random
& random)
const
;
38
// NOLINTEND
39
40
public
:
41
// virtual function thunks
42
// NOLINTBEGIN
43
MCNAPI
void
$apply
(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&);
44
45
MCNAPI
void
$apply
(
::ItemInstance
& item,
::Random
& random,
::LootTableContext
&);
46
// NOLINTEND
47
48
public
:
49
// vftables
50
// NOLINTBEGIN
51
MCNAPI
static
void
**
$vftable
();
52
// NOLINTEND
53
};
ItemInstance
Definition
ItemInstance.h:16
ItemStackBase
Definition
ItemStackBase.h:35
ItemStack
Definition
ItemStack.h:25
LootItemFunction
Definition
LootItemFunction.h:17
LootTableContext
Definition
LootTableContext.h:20
RandomDyeFunction
Definition
RandomDyeFunction.h:18
RandomDyeFunction::_getRandomArmorColor
MCAPI::mce::Color _getRandomArmorColor(::Random &random) const
RandomDyeFunction::$vftable
static MCAPI void ** $vftable()
RandomDyeFunction::$apply
MCAPI void $apply(::ItemInstance &item, ::Random &random, ::LootTableContext &)
RandomDyeFunction::$apply
MCAPI void $apply(::ItemStack &item, ::Random &random, ::LootTableContext &)
RandomDyeFunction::_applyBase
MCAPI void _applyBase(::ItemStackBase &item, ::Random &random) const
Random
Definition
Random.h:11
src
mc
world
level
storage
loot
functions
RandomDyeFunction.h
Generated on Fri Jun 13 2025 05:05:24 for LeviLamina by
1.12.0