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
31
// vIndex: 5
32
virtual ::LootItemFunction::FunctionType getFunctionType()
const
/*override*/
;
33
// NOLINTEND
34
35
public
:
36
// member functions
37
// NOLINTBEGIN
38
MCNAPI
void
_applyBase
(
::ItemStackBase
& item,
::Random
& random)
const
;
39
40
MCNAPI ::mce::Color
_getRandomArmorColor
(
::Random
& random)
const
;
41
// NOLINTEND
42
43
public
:
44
// virtual function thunks
45
// NOLINTBEGIN
46
MCNAPI
void
$apply
(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&);
47
48
MCNAPI
void
$apply
(
::ItemInstance
& item,
::Random
& random,
::LootTableContext
&);
49
50
MCNAPI ::LootItemFunction::FunctionType
$getFunctionType
()
const
;
51
// NOLINTEND
52
53
public
:
54
// vftables
55
// NOLINTBEGIN
56
MCNAPI
static
void
**
$vftable
();
57
// NOLINTEND
58
};
ItemInstance
Definition
ItemInstance.h:15
ItemStackBase
Definition
ItemStackBase.h:36
ItemStack
Definition
ItemStack.h:23
LootItemFunction
Definition
LootItemFunction.h:17
LootTableContext
Definition
LootTableContext.h:19
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::$getFunctionType
MCAPI::LootItemFunction::FunctionType $getFunctionType() const
RandomDyeFunction::_applyBase
MCAPI void _applyBase(::ItemStackBase &item, ::Random &random) const
Random
Definition
Random.h:10
src-server
mc
world
level
storage
loot
functions
RandomDyeFunction.h
Generated on Tue Nov 25 2025 04:01:56 for LeviLamina by
1.12.0